toNotEmptyMapOrNull

Returns a NotEmptyMap containing all the entries of this map, or returns null if this map is empty.