getKeys method Null safety

List<String> getKeys()

Gets keys of all elements stored in this map.

Returns a list with all map keys.