DirectoryVpcSettings.fromJson constructor

DirectoryVpcSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DirectoryVpcSettings.fromJson(Map<String, dynamic> json) {
  return DirectoryVpcSettings(
    subnetIds: (json['SubnetIds'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    vpcId: json['VpcId'] as String,
  );
}