mapEach<R> method

ValueStream<Iterable<R>> mapEach<R>(
  1. R mapper(
    1. X input
    )
)

Implementation

ValueStream<Iterable<R>> mapEach<R>(R mapper(X input)) {
  return this.map((items) => items.orEmpty().map(mapper as R Function(X?)));
}