AggregateCriteria.fromJson constructor

AggregateCriteria.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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