minOfWithOrNull<R> method
Returns the smallest value according to the provided comparator
among
all values produced by selector
function applied to each entry in the
Map or null
if there are no entries.
Implementation
R? minOfWithOrNull<R>(
Comparator<R> comparator,
R Function(MapEntry<K, V> entry) selector,
) =>
entries.minOfWithOrNull(comparator, selector);