toMapFromPairs method

Map<T, T> toMapFromPairs()

Converts this Iterable of Pair to a Map.

Implementation

Map<T, T> toMapFromPairs() => Map<T, T>.fromEntries(map((e) => e.asMapEntry));