hive_universal_cache library

Classes

CachePolicy
CacheStore
Object to access specific CacheStore
CacheTypeRegistry
A registry for keeping all cacheable model you want to keep.
CacheTypeResolver<T>
Resolver Object for cache to Typed object based on type
ItemCache
Wrapper object for storing data in Hive.
ItemCacheAdapter

Typedefs

HasDataChanged<T> = Future<T?> Function({required T data, required String key})
TypeDef for invalidation function which you can pass in get method to run while fetching data from cache in certain interval of time
JSONParser<T> = T Function(Map<String, dynamic>)
TypeDef for json parsing to type function