write method
Write a value to the cache.
Implementation
@override
Future<void> write({required String key, required String value}) async {
final hashedKey = hashKey(key);
_inMemoryCache[hashedKey] = value;
await _box.put(hashedKey, value);
}
Write a value to the cache.
@override
Future<void> write({required String key, required String value}) async {
final hashedKey = hashKey(key);
_inMemoryCache[hashedKey] = value;
await _box.put(hashedKey, value);
}