reduce abstract method
Reduces the stream using the identity and associative binary operator.
Example
final sum = DoubleStream.of([1.5, 2.5, 3.5])
.reduce(0.0, (a, b) => a + b); // 7.5
Implementation
double reduce(double identity, double Function(double, double) op);