stop method

void stop(
  1. String id
)

Implementation

void stop(String id) {
  Stopwatch? item = _items[id];
  if (item == null) {
    throw "Invalid stopwatch id";
  }
  item.stop();
}