diff --git a/README.md b/README.md index 74f1ea5b..b64ef00d 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ import 'package:angel_serialize_generator/angel_serialize_generator.dart'; final List actions = [ new BuildAction(new PartBuilder([const JsonModelGenerator()]), + '', + inputs: const ['test/models/*.dart']), + new BuildAction(new PartBuilder([const SerializerGenerator()], generatedExtension: '.serializer.g.dart'), '', inputs: const ['test/models/*.dart']) ]; @@ -195,7 +198,8 @@ abstract class _Whisper extends Model { * As the second type argument to a `Map` In other words, the following are all legal, and will be serialized/deserialized. -Be sure to use the underscored name of a child class (ex. `_Book`): +You can use either the underscored name of a child class (ex. `_Book`), or the +generated class name (ex `Book`): ```dart @serializable