restart method

dynamic restart()

Restart timer from cold

Implementation

restart() {
  if (this.onRestart != null) {
    this.onRestart!();
  }
}