CustomRoutingEndpointGroup.fromJson constructor
CustomRoutingEndpointGroup.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CustomRoutingEndpointGroup.fromJson(Map<String, dynamic> json) {
return CustomRoutingEndpointGroup(
destinationDescriptions: (json['DestinationDescriptions'] as List?)
?.whereNotNull()
.map((e) => CustomRoutingDestinationDescription.fromJson(
e as Map<String, dynamic>))
.toList(),
endpointDescriptions: (json['EndpointDescriptions'] as List?)
?.whereNotNull()
.map((e) => CustomRoutingEndpointDescription.fromJson(
e as Map<String, dynamic>))
.toList(),
endpointGroupArn: json['EndpointGroupArn'] as String?,
endpointGroupRegion: json['EndpointGroupRegion'] as String?,
);
}