toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.objectId != null) {
json[r'objectId'] = this.objectId;
} else {
json[r'objectId'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.type != null) {
json[r'type'] = this.type;
} else {
json[r'type'] = null;
}
if (this.srNumber != null) {
json[r'srNumber'] = this.srNumber;
} else {
json[r'srNumber'] = null;
}
return json;
}