StructuredAggregationQuery.fromJson constructor
StructuredAggregationQuery.fromJson(
- Map _json
Implementation
StructuredAggregationQuery.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,
structuredQuery: _json.containsKey('structuredQuery')
? StructuredQuery.fromJson(_json['structuredQuery']
as core.Map<core.String, core.dynamic>)
: null,
);