| Index: pkg/serialization/lib/src/format.dart
|
| diff --git a/pkg/serialization/lib/src/format.dart b/pkg/serialization/lib/src/format.dart
|
| index 93a345b1b92da128c355c4f85e89c2067177654e..2c71e42f903afa02724d4678f32de127896a8191 100644
|
| --- a/pkg/serialization/lib/src/format.dart
|
| +++ b/pkg/serialization/lib/src/format.dart
|
| @@ -67,7 +67,7 @@ class InternalMapFormat extends Format {
|
| * the data also includes rule definitions, then these will replace the rules
|
| * in the [Serialization] for [reader].
|
| */
|
| - Map<String, dynamic> read(topLevel, Reader reader) {
|
| + Map<String, dynamic> read(Map<String, dynamic> topLevel, Reader reader) {
|
| var ruleString = topLevel["rules"];
|
| reader.readRules(ruleString);
|
| reader._data = topLevel["data"];
|
| @@ -150,7 +150,7 @@ class SimpleMapFormat extends InternalMapFormat {
|
| * the data also includes rule definitions, then these will replace the rules
|
| * in the [Serialization] for [reader].
|
| */
|
| - Map<String, dynamic> read(topLevel, Reader reader) {
|
| + Map<String, dynamic> read(Map<String, dynamic> topLevel, Reader reader) {
|
| super.read(topLevel, reader);
|
| forAllStates(reader,
|
| (ref) => ref is Map && ref["__Ref"] != null,
|
|
|