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