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(),
);
}