randomValueOrNull method

V? randomValueOrNull()

return random value or null if map is Empty

Implementation

V? randomValueOrNull() => isEmpty ? null : values.random;