I looking for an on-the-shelf way to convert a List into a Map in Dart.
In python for example you can do:
l= [ (\'a\',(1,2)), (\'b\'
There is not yet a concept of tuples or pairs in dart (other than a two element Iterable). If Dart had such a concept, then issue 7088 proposes to solve this with a Map.fromPairs constructor.