Index: utils/pub/yaml/model.dart |
diff --git a/utils/pub/yaml/model.dart b/utils/pub/yaml/model.dart |
index 4304f7c08c17860d5d1f200eedfbc2a22fc8b33b..1bb66829e9e55d3fc3d31a9a1fb2e1ae6d5b4a8f 100644 |
--- a/utils/pub/yaml/model.dart |
+++ b/utils/pub/yaml/model.dart |
@@ -153,7 +153,7 @@ class _ScalarNode extends _Node { |
// TODO(nweiz): This could be faster if we used a RegExp to check for |
// special characters and short-circuited if they didn't exist. |
- var escapedValue = value.charCodes().map((c) { |
+ var escapedValue = value.charCodes.map((c) { |
switch (c) { |
case _Parser.TAB: return "\\t"; |
case _Parser.LF: return "\\n"; |