toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'emailTemplateId'] = this.emailTemplateId;
    json[r'displayName'] = this.displayName;
    json[r'ejs'] = this.ejs;
  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;
}