cancel method

void cancel()

Implementation

void cancel() {
  _stopwatch.stop();
  _timer.cancel();
  _controller.close();
}