restart method

void restart()

Restarts the timer and begins the next tick asynchronously.

Implementation

void restart() {
  isRunning = true;
  Timer.run(_tick);
}