maxOf<R extends Comparable> method
Returns the largest value among all values produced by selector
function
applied to each entry in the Map.
Implementation
R maxOf<R extends Comparable>(R Function(MapEntry<K, V> entry) selector) =>
entries.maxOf(selector);