Avg class
Average of the values of the requested property.
- Only numeric values will be aggregated. All non-numeric values including
NULL
are skipped. * If the aggregated values containNaN
, returnsNaN
. Infinity math follows IEEE-754 standards. * If the aggregated value set is empty, returnsNULL
. * Always returns the result as a double.
Constructors
- Avg({PropertyReference? property})
- Avg.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- property ↔ PropertyReference?
-
The property to aggregate on.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited