toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.body != null) {
json[r'body'] = this.body;
} else {
json[r'body'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.delaySeconds != null) {
json[r'delaySeconds'] = this.delaySeconds;
} else {
json[r'delaySeconds'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.idx != null) {
json[r'idx'] = this.idx;
} else {
json[r'idx'] = null;
}
if (this.sequenceId != null) {
json[r'sequenceId'] = this.sequenceId;
} else {
json[r'sequenceId'] = null;
}
if (this.subject != null) {
json[r'subject'] = this.subject;
} else {
json[r'subject'] = null;
}
return json;
}