Store class abstract

Implementers

Constructors

Store()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decrement(String key, [int value = 1]) FutureOr
Decrements the value of an item in the cache by value.
flush() FutureOr<bool>
Removes all items from the cache.
forever(String key, dynamic value) FutureOr<bool>
Stores an item in the cache indefinitely.
forget(String key) FutureOr<bool>
Removes an item from the cache by key.
get(String key) FutureOr
Retrieves an item from the cache by key.
getAllKeys() FutureOr<List<String>>
Get all keys in the store.
getPrefix() String
Gets the cache key prefix.
increment(String key, [int value = 1]) FutureOr
Increments the value of an item in the cache by value.
many(List<String> keys) FutureOr<Map<String, dynamic>>
Retrieves multiple items from the cache by their keys.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, dynamic value, int seconds) FutureOr<bool>
Stores an item in the cache for a given number of seconds.
putMany(Map<String, dynamic> values, int seconds) FutureOr<bool>
Stores multiple items in the cache for a given number of seconds.
toString() String
A string representation of this object.
inherited

Operators

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