execute method
Starts execution or returns the active execution.
Implementation
Future<TData> execute(TVariables variables) {
if (_destroyed) {
return Future<TData>.error(const MutationCancelledException());
}
final active = _future;
if (active != null) return active;
final execution = _execute(variables, restored: state.isPending);
_future = execution.whenComplete(() {
_future = null;
_scheduleGc();
});
return _future!;
}