| Index: pkg/serialization/lib/serialization.dart
|
| diff --git a/pkg/serialization/lib/serialization.dart b/pkg/serialization/lib/serialization.dart
|
| index 1e3b90ca64dbf2bb7ce5bf3d2275de1c09986c18..1fedea882fea42e649a090ca819e1f1645f41ba9 100644
|
| --- a/pkg/serialization/lib/serialization.dart
|
| +++ b/pkg/serialization/lib/serialization.dart
|
| @@ -85,9 +85,9 @@
|
| * access or a setter, but should be done by calling a method. For example, it
|
| * may not be possible to set a List field "foo", and you need to call an
|
| * addFoo() method for each entry in the list. In these cases, if you are using
|
| - * a BasicRule for the object you can call the specialTreatmentFor() method.
|
| + * a BasicRule for the object you can call the setFieldWith() method.
|
| *
|
| - * s..addRuleFor(fooHolderInstance).specialTreatmentFor("foo",
|
| + * s..addRuleFor(fooHolderInstance).setFieldWith("foo",
|
| * (parent, value) => for (var each in value) parent.addFoo(value));
|
| *
|
| * Writing
|
|
|