DescribeVpcPeeringConnectionsOutput.fromJson constructor

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

Implementation

factory DescribeVpcPeeringConnectionsOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribeVpcPeeringConnectionsOutput(
    vpcPeeringConnections: (json['VpcPeeringConnections'] as List?)
        ?.whereNotNull()
        .map((e) => VpcPeeringConnection.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}