DirectoryVpcSettingsDescription.fromJson constructor
DirectoryVpcSettingsDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DirectoryVpcSettingsDescription.fromJson(Map<String, dynamic> json) {
return DirectoryVpcSettingsDescription(
availabilityZones: (json['AvailabilityZones'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
securityGroupId: json['SecurityGroupId'] as String?,
subnetIds: (json['SubnetIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
vpcId: json['VpcId'] as String?,
);
}