stop method
Stops the Stopwatch.
The elapsedTicks count stops increasing after this call. If the Stopwatch is currently not running, then calling this method has no effect.
Implementation
void stop() {
_stop ??= _now();
}
Stops the Stopwatch.
The elapsedTicks count stops increasing after this call. If the Stopwatch is currently not running, then calling this method has no effect.
void stop() {
_stop ??= _now();
}