stop method
Stop the timer.
The elapsedTime and tick stops increasing after this call. If call when timer is stopped does nothing.
Implementation
@override
void stop() {
if (stopwatch.elapsedMicroseconds == 0) return;
stopwatch.stop();
timer.cancel();
}