cancel method
Cancel the timer.
The elapsedTime and tick resets after this call.
Implementation
@override
void cancel() {
stop();
stopwatch.reset();
tick = 0;
}
Cancel the timer.
The elapsedTime and tick resets after this call.
@override
void cancel() {
stop();
stopwatch.reset();
tick = 0;
}