stop method

void stop({
  1. bool andReset = true,
})

Will stop a timecode and reset the startTime to null

Implementation

void stop({bool andReset = true}) {
  _timer?.cancel();
  startTime = null;
  if (andReset) reset();
}