int length

The number of key-value pairs in the map.

Source

int get length => keys.length;