AwsVpcConfiguration.fromJson constructor
Implementation
factory AwsVpcConfiguration.fromJson(Map<String, dynamic> json) {
return AwsVpcConfiguration(
subnets: (json['Subnets'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
assignPublicIp: (json['AssignPublicIp'] as String?)?.toAssignPublicIp(),
securityGroups: (json['SecurityGroups'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}