StoreRef<K extends Key?, V extends Value?> constructor

StoreRef<K extends Key?, V extends Value?>(
  1. String name
)

A null name means a the main store.

A name must not start with _ (besides the main store).

Implementation

factory StoreRef(String name) {
  if (checkStoreKey) {
    assert(_checkStoreKey<K>(dbMainStore));
  }
  return SembastStoreRef<K, V>(name);
}