cancel method

dynamic cancel ()

Implementation

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