asMap method

Map<K, VS> asMap()

Returns a mutable view onto the underlying map.

Assigning an empty collection (asMap()[key] = []) removes key from the multimap rather than storing an empty entry.

Implementation

Map<K, VS> asMap() => MultimapAsMap(this);