mutationFn property

MutationFn<TData, TVariables>? mutationFn
final

Runs the mutation. Left unset, the function registered for the key with setMutationDefaults (or in DefaultOptions.mutations) is used, and a mutation with none fails with MissingMutationFunctionError when it runs, without retrying.

Implementation

final MutationFn<TData, TVariables>? mutationFn;