QueryResultSource enum
The source of the result data contained
- loading: No data has been specified from any source for the most recent operation
- cache: A result has been eagerly resolved from the cache
- optimisticResult: An optimistic result has been specified May include eager results from the cache.
- network: The query has been resolved on the network
Both optimisticResult and cache sources are considered "Eager" results.
Constructors
- QueryResultSource()
-
const
Values
- loading → const QueryResultSource
-
No data has been specified from any source for the most recent operation
- cache → const QueryResultSource
-
A result has been eagerly resolved from the cache
- optimisticResult → const QueryResultSource
-
An optimistic result has been specified. May include eager results from the cache
- network → const QueryResultSource
-
The query has been resolved on the network
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
QueryResultSource> - A constant List of the values in this enum, in order of their declaration.