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