discontinuedPackage aws_securityhub_api has been discontinued and replaced by aws_client.
AwsCodeBuildProjectVpcConfig.fromJson constructor
AwsCodeBuildProjectVpcConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsCodeBuildProjectVpcConfig.fromJson(Map<String, dynamic> json) {
return AwsCodeBuildProjectVpcConfig(
securityGroupIds: (json['SecurityGroupIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
subnets: (json['Subnets'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
vpcId: json['VpcId'] as String?,
);
}