toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.emailTemplateId != null) {
json[r'emailTemplateId'] = this.emailTemplateId;
} else {
json[r'emailTemplateId'] = null;
}
if (this.displayName != null) {
json[r'displayName'] = this.displayName;
} else {
json[r'displayName'] = null;
}
if (this.ejs != null) {
json[r'ejs'] = this.ejs;
} else {
json[r'ejs'] = null;
}
if (this.domain != null) {
json[r'domain'] = this.domain;
} else {
json[r'domain'] = null;
}
json[r'translationOverridesByLocale'] = this.translationOverridesByLocale;
json[r'testData'] = this.testData;
return json;
}