AggregationResult class Null safety

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.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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