map abstract method
Transforms each element using the provided mapping function.
Example
final squares = DoubleStream.of([1.5, 2.5, 3.5])
.map((d) => d * d);
Implementation
DoubleStream map(double Function(double) mapper);
Transforms each element using the provided mapping function.
final squares = DoubleStream.of([1.5, 2.5, 3.5])
.map((d) => d * d);
DoubleStream map(double Function(double) mapper);