DescribeEndpointsResponse.fromJson constructor
Implementation
factory DescribeEndpointsResponse.fromJson(Map<String, dynamic> json) {
return DescribeEndpointsResponse(
endpoints: (json['endpoints'] as List?)
?.whereNotNull()
.map((e) => Endpoint.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}