stop method

void stop()

停止

Implementation

void stop() {
  if (!started) return;
  _timer!.cancel();
  _timer = null;
  _statusChanged?.call(this);
}