AggregationResult class

The result of a single bucket from a Datastore aggregation query.

The keys of aggregate_properties are the same for all results in an aggregation query, unlike entity queries which can have different fields present for each result.

Constructors

AggregationResult({Map<String, Value>? aggregateProperties})
AggregationResult.fromJson(Map json_)

Properties

aggregateProperties Map<String, Value>?
The result of the aggregation functions, ex: COUNT(*) AS total_entities.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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