Index: pkg/yaml/lib/visitor.dart |
diff --git a/pkg/yaml/lib/visitor.dart b/pkg/yaml/lib/visitor.dart |
index b5c14c9490d073a08556763e591c0d8294eac4ec..42dbb2273eea22cd681f8f0dd184edd63d54f324 100644 |
--- a/pkg/yaml/lib/visitor.dart |
+++ b/pkg/yaml/lib/visitor.dart |
@@ -14,7 +14,7 @@ class _Visitor { |
/// Visits each node in [seq] and returns a list of the results. |
visitSequence(_SequenceNode seq) |
- => seq.content.mappedBy((e) => e.visit(this)).toList(); |
+ => seq.content.map((e) => e.visit(this)).toList(); |
/// Visits each key and value in [map] and returns a map of the results. |
visitMapping(_MappingNode map) { |