onSuccess property

OnMutationSuccess<TData, TVariables, TOnMutateResult>? onSuccess
final

Runs after the options' onSuccess, with the data, the variables, and what onMutate returned. Like the other two, it is skipped when the observer has stopped listening before the mutation settled. No default.

Implementation

final OnMutationSuccess<TData, TVariables, TOnMutateResult>? onSuccess;