VPCDerivedInfo.fromJson constructor
VPCDerivedInfo.fromJson(
- Map<String, dynamic> json
)
Implementation
factory VPCDerivedInfo.fromJson(Map<String, dynamic> json) {
return VPCDerivedInfo(
availabilityZones: (json['AvailabilityZones'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
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?,
);
}