MutationSuccess<ResultT> class
final
The mutation has completed successfully.
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> - MutationSuccess
- Annotations
-
- @publicInMutations
Properties
- hasError → bool
-
Whether the mutation has completed with an error.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- isIdle → bool
-
Whether the mutation is currently idle.
no setterinherited
- isPending → bool
-
Whether the mutation is currently pending.
no setterinherited
- isSuccess → bool
-
Whether the mutation has completed successfully.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → ResultT
-
The new state of the notifier after the mutation has completed.
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