AggregationQuery.fromJson constructor
AggregationQuery.fromJson(
- Map json_
Implementation
AggregationQuery.fromJson(core.Map json_)
: this(
aggregations: json_.containsKey('aggregations')
? (json_['aggregations'] as core.List)
.map((value) => Aggregation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
nestedQuery: json_.containsKey('nestedQuery')
? Query.fromJson(
json_['nestedQuery'] as core.Map<core.String, core.dynamic>)
: null,
);