mapToList<R> method
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);
}