revokeApiKey method

void revokeApiKey(
  1. String key
)

Revokes an API Key

Implementation

void revokeApiKey(String key) {
  _apiKeys.removeWhere((apiKey) => apiKey.key == key);
}