fetchAllBusPositions function

Future<List<BusPosition>> fetchAllBusPositions(
  1. String apiKey
)

Fetches all bus positions.

apiKey is your API key for the WMATA API.

Implementation

Future<List<BusPosition>> fetchAllBusPositions(String apiKey) async =>
    await BusPositionService.fetchBusPositions(apiKey);