sumAsync method
Calculates the sum of all values. This only works for numeric values.
Implementation
Future<T> sumAsync() =>
aggregateAsync<T>(Aggregation.sum).then((value) => value!);
Calculates the sum of all values. This only works for numeric values.
Future<T> sumAsync() =>
aggregateAsync<T>(Aggregation.sum).then((value) => value!);