fetchLines function

Future<List<Line>> fetchLines(
  1. String apiKey
)

Fetches the metro rail lines.

apiKey is your API key for the WMATA API.

Implementation

Future<List<Line>> fetchLines(String apiKey) async =>
    await LinesService.fetchLines(apiKey);