mutate method

Future<MutationState<ReturnType?>> mutate([
  1. Arg? arg
])

Starts the mutation with the given arg.

Implementation

Future<MutationState<ReturnType?>> mutate([Arg? arg]) async {
  // type cast so that void doesn't require an argument
  arg = arg as Arg;
  return _fetch(arg);
}