ListEmailTemplatesResponse.fromJson constructor
Implementation
factory ListEmailTemplatesResponse.fromJson(Map<String, dynamic> json) {
return ListEmailTemplatesResponse(
nextToken: json['NextToken'] as String?,
templatesMetadata: (json['TemplatesMetadata'] as List?)
?.whereNotNull()
.map((e) => EmailTemplateMetadata.fromJson(e as Map<String, dynamic>))
.toList(),
);
}