cancel method

void cancel()

Ends it without a closing line: what was live goes.

Implementation

void cancel() {
  if (_done) {
    return;
  }
  _done = true;
  _clock.stop();
  _live?.remove();
}