Index: tools/dom/src/AttributeMap.dart |
diff --git a/tools/dom/src/AttributeMap.dart b/tools/dom/src/AttributeMap.dart |
index 0bf43a64a197556000624116fe2d441e38f64829..d309a71818aa499b937dea908e4c7224062e0d11 100644 |
--- a/tools/dom/src/AttributeMap.dart |
+++ b/tools/dom/src/AttributeMap.dart |
@@ -161,7 +161,7 @@ class _DataAttributeMap implements Map<String, String> { |
// interface Map |
// TODO: Use lazy iterator when it is available on Map. |
- bool containsValue(String value) => values.some((v) => v == value); |
+ bool containsValue(String value) => values.any((v) => v == value); |
bool containsKey(String key) => $dom_attributes.containsKey(_attr(key)); |