AggregateResult.fromJson constructor

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

Implementation

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