mutate method
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);
}
Starts the mutation with the given arg
.
Future<MutationState<ReturnType?>> mutate([Arg? arg]) async {
// type cast so that void doesn't require an argument
arg = arg as Arg;
return _fetch(arg);
}