reset method
Resets the accumulated time for ref to 0 without removing the stopwatch.
Implementation
void reset({String? ref}) {
ref ??= currentReference;
stop(ref: ref);
if (_stopwatches.containsKey(ref)) {
_stopwatches[ref]!.reset();
_accumulatedTime[ref] = 0;
AppConfig.logger.i('NeomStopwatch reset for $ref.');
}
}