restart method
Restarts the timer and begins the next tick asynchronously.
Implementation
void restart() {
isRunning = true;
Timer.run(_tick);
}
Restarts the timer and begins the next tick asynchronously.
void restart() {
isRunning = true;
Timer.run(_tick);
}