startTimer method

Stopwatch startTimer(
  1. String name
)

Start timer for a metric

Implementation

Stopwatch startTimer(String name) {
  final timer = Stopwatch()..start();
  _metricTimers[name] = timer;
  return timer;
}