put abstract method

  1. @override
Future<void> put(
  1. String key,
  2. T value, {
  3. CacheEntryDelegate<T>? delegate,
})
override

Add / Replace the cache value for the specified key.

  • key: the key
  • value: the value
  • delegate: provides the caller a way of changing the CacheEntry before persistence

Implementation

@override
Future<void> put(String key, T value, {CacheEntryDelegate<T>? delegate});