static bool containsValue(Map map, Object value) { for (final v in map.values) { if (v == value) { return true; } } return false; }