sum abstract method
Sums the elements of the stream.
Example
final sum = DoubleStream.of([1.5, 2.5, 3.5]).sum(); // 7.5
Implementation
double sum();
Sums the elements of the stream.
final sum = DoubleStream.of([1.5, 2.5, 3.5]).sum(); // 7.5
double sum();