toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.definition != null) {
json[r'definition'] = this.definition;
} else {
json[r'definition'] = null;
}
if (this.key != null) {
json[r'key'] = this.key;
} else {
json[r'key'] = null;
}
if (this.updatedAt != null) {
json[r'updated_at'] = this.updatedAt;
} else {
json[r'updated_at'] = null;
}
if (this.updatedBy != null) {
json[r'updated_by'] = this.updatedBy;
} else {
json[r'updated_by'] = null;
}
if (this.version != null) {
json[r'version'] = this.version;
} else {
json[r'version'] = null;
}
return json;
}