map<R> method
Returns a list containing the results of applying the given transform
function
to each entry in the original map.
Implementation
KtList<R> map<R>(R Function(KtMapEntry<K, V> entry) transform) {
final mapped = mapTo(mutableListOf<R>(), transform);
return mapped;
}