reset method

void reset(
  1. String ref
)

(Opcional) Limpia el stopwatch y el acumulado para ref

Implementation

void reset(String ref) {
  if (_stopwatches.containsKey(ref)) {
    _stopwatches[ref]!.reset();
    _accumulatedTime[ref] = 0;
    AppConfig.logger.i('Stopwatch reseteado para $ref.');
  }
}