collection/group_by library

Functions

groupBy(Iterable collection, [dynamic iteratee]) Map<dynamic, List>
Groups the elements of an Iterable collection based on a specified iteratee.