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.content != null) {
json[r'content'] = this.content;
} else {
json[r'content'] = null;
}
return json;
}