GroupByResult class final

One group produced by a grouped aggregation.

Constructors

GroupByResult({required dynamic groupKey, required List<Map<String, dynamic>> documents, Map<String, AggregationResult> aggregations = const {}})
Creates a group result.
const

Properties

aggregations → Map<String, AggregationResult>
Aggregations computed over documents.
final
documents → List<Map<String, dynamic>>
The documents in this group.
final
groupKey → dynamic
The shared value of the group-by field.
final
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited