putInCache method

Future<void> putInCache(
  1. String key,
  2. Map<String, dynamic> value
)

Store a value in the cache.

Implementation

Future<void> putInCache(String key, Map<String, dynamic> value) async {
  if (_database == null) return;
  await _cacheStore.record(key).put(_database!, value);
}