ListEndpointsResponse.fromJson constructor

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

Implementation

factory ListEndpointsResponse.fromJson(Map<String, dynamic> json) {
  return ListEndpointsResponse(
    endpointPropertiesList: (json['EndpointPropertiesList'] as List?)
        ?.whereNotNull()
        .map((e) => EndpointProperties.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}