Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldemarco committed Jul 24, 2019
1 parent 97df129 commit 223735e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,11 @@ or

pub run build_runner watch

Enjoy your generated `point.g.dart` file:
Use your generated `Point` class:

```dart
import 'point.dart';
final p1 = Point(x: 0, y: 1);
final p2 = Point(x: 0, y: 2);
assert(p1 != p2);
Expand Down

0 comments on commit 223735e

Please sign in to comment.