toMap

Returns a new map containing all key-value pairs from the original map.