fetchApiKeyValidation function

Future<bool> fetchApiKeyValidation(
  1. String apiKey
)

Fetches the validation of an API key.

Returns true if the API key is valid, false otherwise.

apiKey is your API key for the WMATA API.

Implementation

Future<bool> fetchApiKeyValidation(String apiKey) async =>
    await ValidateApiKeyService.fetchApiKeyValidation(apiKey);