stats method
Calculates min/average/max statistics based on the current and previous values.
name
a counter name of Statistics typevalue
a value to update statistics
Implementation
@override
void stats(String name, int value) {
var counter = get(name, CounterType.Statistics);
_calculateStats(counter, value);
_update();
}