readSecure static method
Reads sensitive data from secure storage.
Implementation
static Future<String?> readSecure(String key) async {
try {
return await _secureStorage.read(key: key);
} catch (e, stackTrace) {
dump(
'[JetStorage.readSecure] Error reading from secure storage: ${e.toString()}',
stackTrace: stackTrace,
);
return null;
}
}