getBikePointsOccupanciesByPathIds method
Get the occupancy for bike points.
Implementation
Future<List<BikePointOccupancy>> getBikePointsOccupanciesByPathIds(
List<String> ids,
) async {
final response = await _context.client.get(
Uri.https(
authority,
'/occupancy/bikepoints/${ids.join(',')}',
),
);
ClientException.checkIsSuccessStatusCode(response);
return BikePointOccupancy.listFromJson(json.decode(response.body));
}