fetchAllStops function

Future<List<Stop>> fetchAllStops(
  1. String apiKey
)

Fetches all bus stops.

apiKey is your API key for the WMATA API.

Implementation

Future<List<Stop>> fetchAllStops(String apiKey) async =>
    await StopSearchService.fetchStops(apiKey);