fetchRailIncidents function
Fetches rail incidents.
apiKey
is your API key for the WMATA API.
Implementation
Future<List<RailIncident>> fetchRailIncidents(String apiKey) async =>
await RailIncidentService.fetchRailIncidents(apiKey);
Fetches rail incidents.
apiKey
is your API key for the WMATA API.
Future<List<RailIncident>> fetchRailIncidents(String apiKey) async =>
await RailIncidentService.fetchRailIncidents(apiKey);