stop method

void stop()

Stops the runner, and reset all values.

Implementation

void stop() {
  _ticker?.stop();
  _ticker?.dispose();
  _correction = 1.0;
  _previousTime = Duration.zero;
  _prevDeltaTime = 1000 / 60;
  _ticker = null;
  _dtCallback = null;
}