GetDevEndpointsResponse.fromJson constructor

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

Implementation

factory GetDevEndpointsResponse.fromJson(Map<String, dynamic> json) {
  return GetDevEndpointsResponse(
    devEndpoints: (json['DevEndpoints'] as List?)
        ?.whereNotNull()
        .map((e) => DevEndpoint.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}