menu
dfunc package
documentation
dfunc.dart
MapBy extension
MapBy extension
dark_mode
light_mode
MapBy<
V
>
extension
on
Iterable
<
V
>
Methods
mapBy
<
K
>
(
Func1
<
V
,
K
>
getKey
)
→
Map
<
K
,
V
>
Creates map from current iterable. Keys of the map are created by applying
getKey
function to the corresponding item of the list.
dfunc package
documentation
dfunc
MapBy extension
dfunc library