GetLocalGatewayRouteTableResult.fromMap constructor

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

Implementation

factory GetLocalGatewayRouteTableResult.fromMap(Map<String, dynamic> map) {
  return GetLocalGatewayRouteTableResult(
    filters: (() { final guardedValue = map['filters']; if (guardedValue == null) return null; return pulumi.Input.decodeList<GetLocalGatewayRouteTableFilter>(guardedValue, (value) => GetLocalGatewayRouteTableFilter.fromMap((value as Map).cast<String, dynamic>())); })(),
    id: map['id'] as String,
    localGatewayId: map['localGatewayId'] as String,
    localGatewayRouteTableId: map['localGatewayRouteTableId'] as String,
    outpostArn: map['outpostArn'] as String,
    region: map['region'] as String,
    state: map['state'] as String,
    tags: (map['tags'] as Map).cast<String, String>(),
  );
}