beginTiming method
Begins measurement of execution time interval. It returns CounterTiming object which has to be called at CounterTiming.endTiming to end the measurement and update the counter.
name
a counter name of Interval type. Return a CounterTiming callback object to end timing.
Implementation
@override
CounterTiming beginTiming(String name) {
return CounterTiming();
}