Index: utils/pub/yaml/model.dart |
diff --git a/utils/pub/yaml/model.dart b/utils/pub/yaml/model.dart |
index 1bb66829e9e55d3fc3d31a9a1fb2e1ae6d5b4a8f..f9dd00551442adb1005dec174a5f218620baf5a9 100644 |
--- a/utils/pub/yaml/model.dart |
+++ b/utils/pub/yaml/model.dart |
@@ -219,7 +219,7 @@ class _MappingNode extends _Node { |
// Should be super != other; bug 2554 |
if (!(super == other) || other is! _MappingNode) return false; |
if (content.length != other.content.length) return false; |
- for (var key in content.getKeys()) { |
+ for (var key in content.keys) { |
if (!other.content.containsKey(key)) return false; |
if (content[key] != other.content[key]) return false; |
} |
@@ -227,7 +227,7 @@ class _MappingNode extends _Node { |
} |
String toString() { |
- var strContent = Strings.join(content.getKeys(). |
+ var strContent = Strings.join(content.keys. |
map((k) => '${k}: ${content[k]}'), ', '); |
return '$tag {$strContent}'; |
} |