finishWatch method

void finishWatch()

Stop and reset the Stopwatch and log its results.

This will log how much time and how many ticks are elapsed.

Implementation

void finishWatch() {
  logInfo(
    // ignore: lines_longer_than_80_chars
    'Stopwatch stopped: ${_watch.elapsed} elapsed (${_watch.elapsedTicks} ticks)',
  );

  _watch
    ..stop()
    ..reset();
}