cancel method

void cancel()

Implementation

void cancel() {
  cancelled = true;
  needsUpdate = null;
}