ListTemplatesResponse.fromJson constructor
Implementation
factory ListTemplatesResponse.fromJson(Map<String, dynamic> json) {
return ListTemplatesResponse(
nextToken: json['NextToken'] as String?,
requestId: json['RequestId'] as String?,
templateSummaryList: (json['TemplateSummaryList'] as List?)
?.whereNotNull()
.map((e) => TemplateSummary.fromJson(e as Map<String, dynamic>))
.toList(),
);
}