stash_objectbox library

Provides a Objectbox implementation of the Stash caching API for Dart

Classes

CacheStoreAdapter
The CacheStoreAdapter provides a bridge between the store and the backend
ObjectboxAdapter
The ObjectboxAdapter provides a bridge between the store and the Hive backend
ObjectboxStore
Objectbox based implemention of a CacheStore

Functions

newObjectBoxCache(String path, {String? cacheName, ExpiryPolicy? expiryPolicy, KeySampler? sampler, EvictionPolicy? evictionPolicy, int? maxEntries, CacheLoader? cacheLoader, CacheCodec? codec, dynamic fromEncodable(dynamic)?, int? maxDBSizeInKB, int? fileMode, int? maxReaders, bool? queriesCaseSensitiveDefault}) → Cache
Creates a new Cache backed by a ObjectboxStore