containsKey method

Future<bool> containsKey(
  1. String key
)

Check if key exists

Implementation

Future<bool> containsKey(String key) async {
  try {
    final value = await _secureStorage.read(key: key);
    return value != null;
  } catch (e) {
    OnairosDebugHelper.log('❌ Error checking key: $e');
    return false;
  }
}