VPCConfigResponse.fromJson constructor
Implementation
factory VPCConfigResponse.fromJson(Map<String, dynamic> json) {
return VPCConfigResponse(
assignPublicIp: json['assignPublicIp'] as bool?,
securityGroups: (json['securityGroups'] 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?,
);
}