DescribeEndpointTypesResponse.fromJson constructor

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

Implementation

factory DescribeEndpointTypesResponse.fromJson(Map<String, dynamic> json) {
  return DescribeEndpointTypesResponse(
    marker: json['Marker'] as String?,
    supportedEndpointTypes: (json['SupportedEndpointTypes'] as List?)
        ?.whereNotNull()
        .map((e) => SupportedEndpointType.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}