store method

Future<T> store(
  1. String name
)

Implementation

Future<T> store(String name) {
  if (_cacheStore.containsKey(name)) {
    return Future.value(_cacheStore[name]);
  }

  return openBox(name).then((store) {
    _cacheStore[name] = store;

    return store;
  });
}