UseMutationResult<TData, TError, TVariables> class
Constructors
-
UseMutationResult({required Future<
void> mutate(TVariables), required void reset(), MutationStatus status = MutationStatus.idle, TData? data, TError? error, DateTime? submittedAt, TVariables? variables})
Properties
- data → TData?
-
final
- error → TError?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
final
- isIdle → bool
-
final
- isPending → bool
-
final
- isSuccess → bool
-
final
-
mutate
→ Future<
void> Function(TVariables) -
final
- reset → void Function()
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → MutationStatus
-
final
- submittedAt → DateTime?
-
final
- variables → TVariables?
-
final
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