toJson method
Implementation
Map<String, dynamic> toJson() {
final html = this.html;
final subject = this.subject;
final text = this.text;
return {
if (html != null) 'Html': html,
if (subject != null) 'Subject': subject,
if (text != null) 'Text': text,
};
}