toJson method
Implementation
Map<String, Object?> toJson() {
var author = this.author;
var remoteAddress = this.remoteAddress;
var creationDate = this.creationDate;
var summary = this.summary;
var description = this.description;
var category = this.category;
var sysAdmin = this.sysAdmin;
var superAdmin = this.superAdmin;
var affectedObject = this.affectedObject;
var changedValues = this.changedValues;
var associatedObjects = this.associatedObjects;
final json = <String, Object?>{};
json[r'author'] = author.toJson();
json[r'remoteAddress'] = remoteAddress;
json[r'creationDate'] = creationDate;
json[r'summary'] = summary;
json[r'description'] = description;
json[r'category'] = category;
json[r'sysAdmin'] = sysAdmin;
json[r'superAdmin'] = superAdmin;
json[r'affectedObject'] = affectedObject.toJson();
json[r'changedValues'] = changedValues.map((i) => i.toJson()).toList();
json[r'associatedObjects'] =
associatedObjects.map((i) => i.toJson()).toList();
return json;
}