mapToList<T> method

List<T> mapToList<T>(
  1. T f(
    1. N n
    )
)

Implementation

List<T> mapToList<T>(T Function(N n) f) => map(f).toList();