DescribeVpcPeeringAuthorizationsOutput.fromJson constructor

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

Implementation

factory DescribeVpcPeeringAuthorizationsOutput.fromJson(
    Map<String, dynamic> json) {
  return DescribeVpcPeeringAuthorizationsOutput(
    vpcPeeringAuthorizations: (json['VpcPeeringAuthorizations'] as List?)
        ?.whereNotNull()
        .map((e) =>
            VpcPeeringAuthorization.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}