mapFromPairs<K, V> function
Null safety
Create a Map from a list of Tuple2s, which provides key/value pairs.
Implementation
Map<K, V> mapFromPairs<K, V>(Iterable<Tuple2<K, V>> pairs) =>
{for (var t in pairs) t.item1: t.item2};