revokeApiKey method
Revokes the API key with the given key
.
-
Parameters:
- key: The API key to be revoked.
-
Returns:
void
.
Implementation
void revokeApiKey(String key) {
_apiKeys.removeWhere((apiKey) => apiKey.key == key);
}
Revokes the API key with the given key
.
Parameters:
Returns: void
.
void revokeApiKey(String key) {
_apiKeys.removeWhere((apiKey) => apiKey.key == key);
}