GetEmailTemplateResponse.fromJson constructor

GetEmailTemplateResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetEmailTemplateResponse.fromJson(Map<String, dynamic> json) {
  return GetEmailTemplateResponse(
    templateContent: EmailTemplateContent.fromJson(
        json['TemplateContent'] as Map<String, dynamic>),
    templateName: json['TemplateName'] as String,
  );
}