createStore<K extends KeyBase, V extends ValueBase> method

SdbOpenStoreRef<K, V> createStore<K extends KeyBase, V extends ValueBase>(
  1. SdbStoreRef<K, V> store, {
  2. String? keyPath,
  3. bool? autoIncrement,
})

Create a store. auto increment is set to true if not set for int keys

Implementation

SdbOpenStoreRef<K, V> createStore<K extends KeyBase, V extends ValueBase>(
        SdbStoreRef<K, V> store,
        {String? keyPath,
        bool? autoIncrement}) =>
    impl.addStoreImpl<K, V>(store.impl,
        keyPath: keyPath, autoIncrement: autoIncrement);