int length

The number of key-value pairs in the map.

Source

int get length => _map.length;