softMapList<R> method

List<R> softMapList<R>(
  1. R? f(
    1. T
    )
)

Returns a new List with mapped elements that are not null.

Implementation

List<R> softMapList<R>(R? Function(T) f) => softMap(f).toList();