QueryResultSource enum

The source of the result data contained

Loading: No data has been specified from any source Cache: A result has been eagerly resolved from the cache OptimisticResults: An optimistic result has been specified (may include eager results from the cache) Network: The query has been resolved on the network

Both Optimistic and Cache sources are considered "Eager" results

Constants

Cache → const QueryResultSource
const QueryResultSource(1)
Loading → const QueryResultSource
const QueryResultSource(0)
Network → const QueryResultSource
const QueryResultSource(3)
OptimisticResult → const QueryResultSource
const QueryResultSource(2)
values → const List<QueryResultSource>

A constant List of the values in this enum, in order of their declaration.

const List<QueryResultSource>

Properties

index → int

The integer index of this enum.

final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited