sum method

Future<T> sum()

Returns the sum of all values of this query.

Implementation

Future<T> sum() => aggregate<T>(AggregationOp.sum).then((value) => value!);