stash_sembast library
Provides a Sembast implementation of the Stash caching API for Dart
Classes
- SembastAdapter
- The SembastAdapter provides a bridge between the store and the Sembast backend
- SembastCacheStore
- SembastLocalAdapter
- SembastMemoryAdapter
-
SembastStore<
I extends Info, E extends Entry< I> > -
Sembast based implemention of a
Store
- SembastVaultStore
Functions
-
newSembastLocalCacheStore(
{String? path, StoreCodec? codec, int? databaseVersion, OnVersionChangedFunction? onVersionChanged, DatabaseMode? databaseMode, SembastCodec? sembastCodec}) → Future< SembastCacheStore> - Creates a new SembastCacheStore on a file
-
newSembastLocalVaultStore(
{String? path, StoreCodec? codec, int? databaseVersion, OnVersionChangedFunction? onVersionChanged, DatabaseMode? databaseMode, SembastCodec? sembastCodec}) → Future< SembastVaultStore> - Creates a new SembastVaultStore on a file
-
newSembastMemoryCacheStore(
{StoreCodec? codec, int? databaseVersion, OnVersionChangedFunction? onVersionChanged, DatabaseMode? databaseMode, SembastCodec? sembastCodec}) → Future< SembastCacheStore> - Creates a new in-memory SembastCacheStore
-
newSembastMemoryVaultStore(
{StoreCodec? codec, int? databaseVersion, OnVersionChangedFunction? onVersionChanged, DatabaseMode? databaseMode, SembastCodec? sembastCodec}) → Future< SembastVaultStore> - Creates a new in-memory SembastVaultStore