AggregateCriteria.fromJson constructor
Implementation
factory AggregateCriteria.fromJson(Map<String, dynamic> json) =>
AggregateCriteria(
fieldName: json['fieldName'].toString(),
aggregation: Aggregations.fromInt(json["aggregation"] as int),
);