toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
json[r'name'] = this.name;
json[r'name_short'] = this.nameShort;
json[r'ordering'] = this.ordering;
return json;
}