aggregate method
Aggregate a rectangular range and return the numeric result.
Implementation
Future<double> aggregate(
AggregateType type,
int row1,
int col1,
int row2,
int col2,
) async {
final resp = await VolvoxGridService.Aggregate(AggregateRequest()
..gridId = _gridId
..aggregate = type
..row1 = row1
..col1 = col1
..row2 = row2
..col2 = col2);
return resp.value;
}