fetchTrackCircuits function

Future<List<TrackCircuit>> fetchTrackCircuits(
  1. String apiKey
)

Fetches all track circuits.

apiKey is your API key for the WMATA API.

Implementation

Future<List<TrackCircuit>> fetchTrackCircuits(String apiKey) async =>
    await TrackCircuitsService.fetchTrackCircuits(apiKey);