flatMap abstract method
Flattens nested DoubleStream
s generated by the mapping function.
Example
final expanded = DoubleStream.of([1.0, 2.0])
.flatMap((d) => DoubleStream.of([d, d * 2]));
Implementation
DoubleStream flatMap(DoubleStream Function(double) mapper);