mapToList<R> method

List<R> mapToList<R>(
  1. R toElement(
    1. T e
    ), {
  2. bool growable = false,
})

Implementation

List<R> mapToList<R>(R Function(T e) toElement, {bool growable = false}) {
  return map(toElement).toList(growable: growable);
}