time static method

void time(
  1. String label
)

Starts a timer with the given label.

Implementation

static void time(String label) {
  _timers[label] = Stopwatch()..start();
}