getApiKey static method
Get API key (decrypted)
Implementation
static Future<String?> getApiKey() async {
try {
final encryptedApiKey = await _storage.read(key: _apiKeyKey);
if (encryptedApiKey == null) return null;
return _decryptData(encryptedApiKey);
} catch (e) {
return null;
}
}