QueryAction class sealed Advanced

One change to a query's state — what a QueryUpdated cache event says happened.

A cache listener, a devtools panel or a persister can switch on the action of a QueryUpdated event to tell a fetch starting from a retry, a success or an invalidation. The class is sealed, so that switch is exhaustive:

Read-only from outside: only a Query dispatches one, and there is no public way to hand one in.

Implementers
Annotations
  • @immutable

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

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