MutationState<ResultT> class
sealed
The current state of a mutation.
A mutation can be in any of the following states:
- MutationIdle: The mutation is not running. This is the default state.
- MutationPending: The mutation has been called and is in progress.
- MutationError: The mutation has failed with an error.
- MutationSuccess: The mutation has completed successfully.
- Implementers
- Annotations
-
- @publicInMutations
- @immutable
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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