compactMap<E> method

Iterable<E> compactMap<E>(
  1. E? mapper(
    1. T item
    )
)

Implementation

Iterable<E> compactMap<E>(E? Function(T item) mapper) =>
    map(mapper).filterNull();