Index: utils/pub/yaml/composer.dart |
diff --git a/utils/pub/yaml/composer.dart b/utils/pub/yaml/composer.dart |
index 671cbdf30b8ecf3616f92c3d59bd4ebf1b07b046..9558443991aa293cbf2b9277a693657680d3d24d 100644 |
--- a/utils/pub/yaml/composer.dart |
+++ b/utils/pub/yaml/composer.dart |
@@ -59,7 +59,7 @@ class _Composer extends _Visitor { |
'float': parseFloat, 'str': parseString |
}; |
- for (var key in tagParsers.getKeys()) { |
+ for (var key in tagParsers.keys) { |
if (scalar.tag.name != _Tag.yaml(key)) continue; |
var result = tagParsers[key](scalar.content); |
if (result != null) return setAnchor(scalar, result); |