GetSubnetGroupResult.fromMap constructor

GetSubnetGroupResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetSubnetGroupResult.fromMap(Map<String, dynamic> map) {
  return GetSubnetGroupResult(
    arn: map['arn'] as String,
    description: map['description'] as String,
    id: map['id'] as String,
    name: map['name'] as String,
    region: map['region'] as String,
    subnetIds: (map['subnetIds'] as List).cast<String>(),
    tags: (map['tags'] as Map).cast<String, String>(),
    vpcId: map['vpcId'] as String,
  );
}