AggregateResult class

Aggregation result.

Constructors

AggregateResult({required int count, double? sum, double? avg, dynamic min, dynamic max, Map<String, dynamic> values = const {}})

Properties

avg → double?
Average of numeric values.
final
count → int
Count of items.
final
hashCode → int
The hash code for this object.
no setterinherited
max → dynamic
Maximum value.
final
min → dynamic
Minimum value.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sum → double?
Sum of numeric values.
final
values → Map<String, dynamic>
Grouped 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.
inherited