toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var prefix = this.prefix;
  var name = this.name;
  var id = this.id;
  var label = this.label;

  final json = <String, Object?>{};
  json[r'prefix'] = prefix;
  json[r'name'] = name;
  json[r'id'] = id;
  json[r'label'] = label;
  return json;
}