toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.data != null) {
json[r'data'] = this.data;
} else {
json[r'data'] = null;
}
json[r'headers'] = this.headers;
if (this.seq != null) {
json[r'seq'] = this.seq;
} else {
json[r'seq'] = null;
}
if (this.subject != null) {
json[r'subject'] = this.subject;
} else {
json[r'subject'] = null;
}
if (this.time != null) {
json[r'time'] = this.time;
} else {
json[r'time'] = null;
}
return json;
}