operator []= method

void operator []= (K key, V value)
override

Adds an association between key and value.

Throws ArgumentError if an association involving value exists in the map; otherwise, the association is inserted, overwriting any existing association for the key.

Implementation

void operator []=(K key, V value);