From 73ec77091c07ebae0add4a079df262c8103371c6 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 27 Feb 2018 21:12:49 -0500 Subject: [PATCH] Updated README... somewhat --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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