filterMapOptional<R> method

ImmortalList<R> filterMapOptional<R>(
  1. Optional<R> f(
    1. T value
    )
)

Returns a new list with elements that are created by calling f on each element of this list in iteration order and filters out empty optionals.

See whereMapOptional.

Implementation

ImmortalList<R> filterMapOptional<R>(Optional<R> Function(T value) f) =>
    whereMapOptional(f);