menu
dfunc package
documentation
dfunc.dart
GroupBy extension
GroupBy extension
dark_mode
light_mode
GroupBy<
V
>
extension
on
Iterable
<
V
>
Methods
groupBy
<
K
>
(
Func1
<
V
,
K
>
getKey
)
→
Map
<
K
,
List
<
V
>
>
Splits an iterable into sub-lists stored in a map, based on result of calling
getKey
function on each element of
this
, and grouping the results according to values returned.
dfunc package
documentation
dfunc
GroupBy extension
dfunc library