stopBenchmark method
Implementation
void stopBenchmark(String id, BuildContext context) {
var debugWidget = context.findAncestorWidgetOfExactType<DebugWidget>();
var benchmark = debugWidget?.state.benchmark;
benchmark?.stop(id);
}
void stopBenchmark(String id, BuildContext context) {
var debugWidget = context.findAncestorWidgetOfExactType<DebugWidget>();
var benchmark = debugWidget?.state.benchmark;
benchmark?.stop(id);
}