toJson method
Implementation
Map<String, Object?> toJson() {
var description = this.description;
var id = this.id;
var name = this.name;
var statusCategory = this.statusCategory;
final json = <String, Object?>{};
if (description != null) {
json[r'description'] = description;
}
json[r'id'] = id;
json[r'name'] = name;
json[r'statusCategory'] = statusCategory.value;
return json;
}