mutationError method
void
mutationError(
- ProviderObserverContext context,
- Mutation<
Object?> mutation, - Object error,
- StackTrace stackTrace,
A mutation failed.
error
is the error thrown by the mutation.
stackTrace
is the stack trace of the error.
mutation
is strictly the same as ProviderObserverContext.mutation.
It is provided as a convenience, as this life-cycle is guaranteed
to have a non-null ProviderObserverContext.mutation.
Implementation
void mutationError(
ProviderObserverContext context,
Mutation<Object?> mutation,
Object error,
StackTrace stackTrace,
) {}