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