MutationState<ResultT> class sealed

The current state of a mutation.

A mutation can be in any of the following states:

Annotations
  • @publicInMutations
  • @immutable

Properties

hasError bool
Whether the mutation has completed with an error.
no setter
hashCode int
The hash code for this object.
no setteroverride
isIdle bool
Whether the mutation is currently idle.
no setter
isPending bool
Whether the mutation is currently pending.
no setter
isSuccess bool
Whether the mutation has completed successfully.
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.
override