stop method

void stop()

Implementation

void stop() {
  if (_timer != null) {
    if (stdout.hasTerminal) {
      stdout.write('\r');
    }
    _timer!.cancel();
    _timer = null;
  }
}