setValue method
Sets a value in the cache and SecureStorage
Implementation
void setValue(String key, String value) {
_cache[key] = value;
try {
SecureStorage.storeSecureData(key, value);
} catch (error) {
// ignore: avoid_print
print('Error storing key $key in SecureStorage: $error');
}
}