startBenchmark method

void startBenchmark(
  1. String id
)

Implementation

void startBenchmark(String id) {
  var debugWidget = this.findAncestorWidgetOfExactType<DebugWidget>();
  var benchmark = debugWidget?.state.benchmark;
  benchmark?.start(id);
}