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