toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': arn,
'associations': pulumi.Input.encodeList<GetRouteTableAssociation, Map<String, dynamic>>(associations, (value) => value.toMap()),
'filters': ?(() { final guardedValue = filters; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetRouteTableFilter, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'gatewayId': gatewayId,
'id': id,
'ownerId': ownerId,
'region': region,
'routeTableId': routeTableId,
'routes': pulumi.Input.encodeList<GetRouteTableRoute, Map<String, dynamic>>(routes, (value) => value.toMap()),
'subnetId': subnetId,
'tags': tags,
'vpcId': vpcId,
};
}