fetchStations function
Fetches the station info for all stations.
apiKey is your API key for the WMATA API.
lineCode is the line code for the line you want to fetch stations for. It
is a two character string. For example, the Orange line is "OR".
Implementation
Future<List<Station>> fetchStations(
String apiKey, {
String? lineCode,
}) async =>
await StationInfoService.fetchStations(
apiKey,
lineCode: lineCode,
);