NumericStats class
Descriptive statistics for one group of numeric values.
- Annotations
Constructors
- NumericStats({required int count, required double sum, required num min, required num max, required double mean})
-
Creates a stat bundle. Built by groupedStats; every field is derived
from at least one value, so
countis always ≥ 1. Audited: 2026-06-12 11:26 EDTconst
Properties
- count → int
-
Number of values in the group (≥ 1).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- max → num
-
Largest value.
final
- mean → double
-
Arithmetic mean (
sum / count).final - min → num
-
Smallest value.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sum → double
-
Sum of the values.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override