toJson method
Implementation
String toJson() {
final Map<String, dynamic> emailContent = {
'to': this.to,
'cc': this.cc,
'bcc': this.bcc,
'subject': this.subject,
'body': this.body,
};
return json.encode(emailContent);
}
String toJson() {
final Map<String, dynamic> emailContent = {
'to': this.to,
'cc': this.cc,
'bcc': this.bcc,
'subject': this.subject,
'body': this.body,
};
return json.encode(emailContent);
}