BackupCacheStore class
- Inheritance
-
- Object
- CacheStore
- BackupCacheStore
Constructors
- BackupCacheStore({required CacheStore backupStore, CacheStore? primaryStore})
Properties
- backupStore → CacheStore
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primaryStore → CacheStore
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clean(
) → Future< void> -
override
-
delete(
String id) → Future< void> -
override
-
get(
String id) → Future< CachedResponse?> -
override
-
invalidate(
String id) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
CachedResponse response) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateExpiry(
String id, DateTime newExpiry) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited