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.
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
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- index → int
- 
  A numeric identifier for the enumerated value.
  no setterinherited
- isEager → bool
- 
      Available on QueryResultSource, provided by the Getters extension Whether this result source is considered "eager" (is cache or optimisticResult)no setter
- name → String
- 
      Available on Enum, provided by the EnumName extension The name of the enum value.no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
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.