ListTemplateAliasesResponse.fromJson constructor

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

Implementation

factory ListTemplateAliasesResponse.fromJson(Map<String, dynamic> json) {
  return ListTemplateAliasesResponse(
    nextToken: json['NextToken'] as String?,
    requestId: json['RequestId'] as String?,
    templateAliasList: (json['TemplateAliasList'] as List?)
        ?.whereNotNull()
        .map((e) => TemplateAlias.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}