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