ListResolverEndpointsResponse.fromJson constructor
Implementation
factory ListResolverEndpointsResponse.fromJson(Map<String, dynamic> json) {
return ListResolverEndpointsResponse(
maxResults: json['MaxResults'] as int?,
nextToken: json['NextToken'] as String?,
resolverEndpoints: (json['ResolverEndpoints'] as List?)
?.whereNotNull()
.map((e) => ResolverEndpoint.fromJson(e as Map<String, dynamic>))
.toList(),
);
}