associate<K, V> method
Returns a Map containing MapEntrys provided by transform
function
applied to elements of the given collection.
Implementation
Map<K, V> associate<K, V>(MapEntry<K, V> Function(E element) transfrom) =>
Map.fromEntries(map(transfrom));