mutationSuccess method

void mutationSuccess(
  1. ProviderObserverContext context,
  2. Mutation<Object?> mutation,
  3. Object? result
)

A mutation succeeded.

result is the value returned by the mutation.

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 mutationSuccess(
  ProviderObserverContext context,
  Mutation<Object?> mutation,
  Object? result,
) {}