mapToList<E> method

List<E> mapToList<E>(
  1. E builder(
    1. T
    )
)

list.map.toList()

Implementation

List<E> mapToList<E>(E Function(T) builder) =>
    map<E>((T e) => builder(e)).toList();