randomEntryOrNull method

MapEntry<K, V>? randomEntryOrNull()

return random Entry or null if map is Empty

Implementation

MapEntry<K, V>? randomEntryOrNull() => isEmpty ? null : entries.random;