HiveCacheWrapper class

A wrapper for hive cache implemented with stash

Implemented types

Constructors

HiveCacheWrapper({int cacheMaxEntries = 20, String? storagePath, String name = "feed"})

Properties

cacheMaxEntries int
Amount of maximum entries in the cache
final
hashCode int
The hash code for this object.
no setterinherited
hasInit bool
getter/setter pairoverride
length Future<int>
no setteroverride
name String
Name for scoping the cache
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storagePath String?
Path for storing the cache
final

Methods

clear() Future<void>
override
init() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putAll(List<FeedEntryModel> models) Future<void>
override
retriveAll() Future<List<FeedEntryModel>>
override
save(FeedEntryModel model) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited