stats method Null safety

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

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