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