Converts this Iterable of Pair to a Map.
Map<T, T> toMapFromPairs() => Map<T, T>.fromEntries(map((e) => e.asMapEntry));