Update README.md

This commit is contained in:
Tobe O 2018-06-20 21:40:03 -04:00 committed by GitHub
parent 64c5168c6f
commit 4511a14ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ the time you spend writing boilerplate serialization code for your models.
In your `pubspec.yaml`, you need to install the following dependencies: In your `pubspec.yaml`, you need to install the following dependencies:
```yaml ```yaml
dependencies: dependencies:
angel_model: ^1.0.0 # Only required if using Angel!!!
angel_serialize: ^2.0.0 angel_serialize: ^2.0.0
dev_dependencies: dev_dependencies:
angel_serialize_generator: ^2.0.0 angel_serialize_generator: ^2.0.0
@ -52,7 +53,7 @@ For example, say we have a `Book` model. Create a class named `_Book`:
```dart ```dart
library angel_serialize.test.models.book; library angel_serialize.test.models.book;
import 'package:angel_framework/common.dart'; import 'package:angel_model/angel_model.dart';
import 'package:angel_serialize/angel_serialize.dart'; import 'package:angel_serialize/angel_serialize.dart';
import 'package:collection/collection.dart'; import 'package:collection/collection.dart';
part 'book.g.dart'; part 'book.g.dart';