aggregate_collection method

Aggregates values from the specified fields for records that satisfies the filter conditions,

Implementation

Future<ResultOfAggregateCollection> aggregate_collection(
    ParamsOfAggregateCollection params) async {
  final res = await _tonCore.request(
      'net.aggregate_collection', params.toString());
  return ResultOfAggregateCollection.fromMap(res);
}