void reset([num time = 0.0 ])

Source

void reset([num time = 0.0]) {
  pause();
  time = max(time, 0.0);
  if (time != 0.0) {
    _totalTime = time;
    clearAlarms();
  }
  ratio = 1.0;
}