QueryCache class
Contains functions for managing the query cache.
There is only one constructor which is used only internally by this library.
Developer is not supposed to instantiate this class by calling constructor.
Recommended way would be to use queryCache instance provided by library
Constructors
- QueryCache()
-
Creates QueryCache instance. Not intented for developer use.
Developer should always use queryCache provided by the library.
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
-
invalidateAll(
) → dynamic - Invalidates every query stored in cache.
-
invalidateQueries(
dynamic keys) → dynamic -
Invalidates the queries specified by
keys
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → dynamic - Deletes data from cache without rebuilding the Query widget
-
setOptimistic<
T> (dynamic key, T data) → dynamic -
Replaces the data in cache with specified
data
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited