MutationError<ResultT> class
final
The mutation has failed with an error.
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.
- Inheritance
-
- Object
- MutationState<
ResultT> - MutationError
- Annotations
-
- @publicInMutations
Properties
- error → Object
-
The error thrown by the mutation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of the error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override