ListCustomRoutingPortMappingsResponse.fromJson constructor
Implementation
factory ListCustomRoutingPortMappingsResponse.fromJson(
Map<String, dynamic> json) {
return ListCustomRoutingPortMappingsResponse(
nextToken: json['NextToken'] as String?,
portMappings: (json['PortMappings'] as List?)
?.whereNotNull()
.map((e) => PortMapping.fromJson(e as Map<String, dynamic>))
.toList(),
);
}