stats method Null safety

  1. @override
void stats(
  1. String name,
  2. int value
)
override

Calculates min/average/max statistics based on the current and previous values.

  • name a counter name of Statistics type
  • value a value to update statistics