toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'name'] = this.name;
  json[r'code'] = this.code;
  json[r'description'] = this.description;
  json[r'type'] = this.type;
  json[r'subtype'] = this.subtype;
  return json;
}