onSettled property
Optional hook invoked when the mutation settles (either success or error).
Implementation
final OnSettledCallback<T, P>? onSettled;
Optional hook invoked when the mutation settles (either success or error).
final OnSettledCallback<T, P>? onSettled;