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