get abstract method

  1. @override
Future<T?> get(
  1. String key, {
  2. CacheEntryDelegate<T>? delegate,
})
override

Returns the cache value for the specified key.

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

Implementation

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