Index: pkg/serialization/lib/src/format.dart |
diff --git a/pkg/serialization/lib/src/format.dart b/pkg/serialization/lib/src/format.dart |
index 6e40e0ad797ce3c129b79e8c6b1636f04e4edbf9..c1d122e064bfc999e1d268fa0b3a91cd7172750b 100644 |
--- a/pkg/serialization/lib/src/format.dart |
+++ b/pkg/serialization/lib/src/format.dart |
@@ -161,7 +161,7 @@ class SimpleJsonFormat extends Format { |
var result = {}; |
result["rules"] = null; |
var ruleData = |
- new List(r.serialization.rules.length).mappedBy((x) => []).toList(); |
+ new List(r.serialization.rules.length).map((x) => []).toList(); |
var top = recursivelyFixUp(data, r, ruleData); |
result["data"] = ruleData; |
result["roots"] = [top]; |
@@ -434,4 +434,4 @@ class SimpleFlatFormat extends Format { |
input.moveNext(); |
return input.current; |
} |
-} |
+} |