minWithOrNull method
Returns the first entry having the smallest value according to the
provided comparator
or null
if there are no entries.
Implementation
MapEntry<K, V>? minWithOrNull(Comparator<MapEntry<K, V>> comparator) =>
entries.minWithOrNull(comparator);