FileCacheDriver class
- Implemented types
Constructors
- FileCacheDriver({String tag = ''})
- Store cache into file
Properties
Methods
-
flush(
) → Future< void> -
flush all the cache
override
-
forever(
String key, String value) → Future< void> -
set key value into cache forever
override
-
forget(
String key) → Future< void> -
remove a key from cache
override
-
get(
String key) → Future -
get value from cache
override
-
has(
String key) → Future< bool> -
check value exist
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String key, String value, {Duration? duration}) → Future< void> -
set key value into cache
default duration 1 hour
override
-
setTag(
String tagName) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited