sum method
T
sum()
Calculates the sum of all values. This only works for numeric values.
Implementation
T sum() => aggregate(Aggregation.sum)!;
Calculates the sum of all values. This only works for numeric values.
T sum() => aggregate(Aggregation.sum)!;