HiveRepositoryCacheStorage constructor

HiveRepositoryCacheStorage({
  1. required Box<String> box,
})

A cache storage implementation that uses Hive.

This class stores the data in a Box using the hashed key as the key. The data is stored as a String.

Implementation

HiveRepositoryCacheStorage({required Box<String> box}) : _box = box;