AggregateQuerySnapshot class
AggregateQuerySnapshot represents a response to an AggregateQuery request.
Properties
- count → int?
-
Returns the count of the documents that match the query.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
query
→ Query<
Object?> -
Query represents the query over the data at a particular location used by the AggregateQuery to
retrieve the metadata.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAverage(
String field) → double? - Returns the average of the values of the documents that match the query.
-
getSum(
String field) → double? - Returns the sum of the values of the documents that match the query.
-
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