operator [] method

  1. @override
List<V> operator [](
  1. Object? key
)

Returns the values for the given key. An empty iterable is returned if key is not mapped. The returned collection is a view on the multimap. Updates to the collection modify the multimap and likewise, modifications to the multimap are reflected in the returned collection.

Implementation

@override
List<V> operator [](Object? key) => super[key] as List<V>;