cancel method

void cancel()

Implementation

void cancel() {
  if (!_disposed) {
    _notifier.value = true;
    dispose();
  }
}