mapToList<R> method

List<R> mapToList<R>(
  1. R transform(
    1. K,
    2. V
    )
)

Returns a list containing the results of applying the given transform function to each entry in the original map.

Implementation

List<R> mapToList<R>(R Function(K, V) transform) {
  return mapToListTo([], transform);
}