MutationContext class final

Input shared by mutation lifecycle callbacks.

Constructors

MutationContext({required QueryClient client, required QueryKey<Object?>? key, required Map<String, Object?> meta})
Creates callback context for a mutation.
const

Properties

client → QueryClient
The client executing the mutation.
final
hashCode → int
The hash code for this object.
no setterinherited
key → QueryKey<Object?>?
The optional mutation key.
final
meta → Map<String, Object?>
User metadata attached to the mutation.
final
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.
inherited