features/bus_routes/domain/repos/bus_position_repo library

Functions

fetchAllBusPositions(String apiKey) Future<List<BusPosition>>
Fetches all bus positions.
fetchBusPositionsForLocation(String apiKey, {required double latitude, required double longitude, required double radiusMeters}) Future<List<BusPosition>>
Fetches bus positions for a specific location.
fetchBusPositionsForRoute(String apiKey, {required String routeId}) Future<List<BusPosition>>
Fetches bus positions for a specific route.
fetchBusPositionsForRouteAndLocation(String apiKey, {required String routeId, required double latitude, required double longitude, required double radiusMeters}) Future<List<BusPosition>>
Fetches bus positions for a specific route and location.