/// Map utilities /// /// @author Pierre HUBERT /// Invert the values of a map with their keys Map invertMap(Map m) => m.map((k, v) => MapEntry(v, k));