mapList<R> method

List<R> mapList<R>(
  1. R f(
    1. T
    )
)

Returns a new List with mapped elements.

Implementation

List<R> mapList<R>(R Function(T) f) => map(f).toList();