Groups items into a Map according to the value of their key property. Like groupMap, but the returned map's get narrows each group to the union members whose key property matches the requested key.
Map
key
get
The property to group by.
A sink resolving to a Map from each key to the items in that group, in source order.
Groups items into a
Mapaccording to the value of theirkeyproperty. Like groupMap, but the returned map'sgetnarrows each group to the union members whosekeyproperty matches the requested key.