getValueFromSecureStorage method
Retrieves a value from secure storage for the given key.
Returns the value as a String if found, otherwise returns null.
Implementation
Future<String?> getValueFromSecureStorage({required String key}) async {
try {
return _secureStorage.read(key: key);
} catch (e) {
log('Error reading from secure storage: $e');
return null;
}
}