DescribeEndpointsResponse.fromJson constructor

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

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(),
    marker: json['Marker'] as String?,
  );
}