ButterIterableUtil<E> extension

on

Methods

groupBy<K>(K keyFunction(E)) Map<K, List<E>>

Available on Iterable<E>, provided by the ButterIterableUtil extension

Group by method for Lists. Example usage: List list.groupBy((a) => a.date);