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;
}
if (this.fromEmailName != null) {
json[r'from_email_name'] = this.fromEmailName;
} else {
json[r'from_email_name'] = null;
}
if (this.replyToEmailName != null) {
json[r'reply_to_email_name'] = this.replyToEmailName;
} else {
json[r'reply_to_email_name'] = null;
}
return json;
}