Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ dependencies to your `pubspec.yaml`.

```yaml
dependencies:
json_annotation: ^0.2.2
json_annotation: ^0.2.3

dev_dependencies:
build_runner: ^0.7.6
json_serializable: ^0.4.0
build_runner: ^0.8.0
json_serializable: ^0.5.0
```

Annotate your code with classes defined in
Expand Down
8 changes: 4 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: example
author: Dart Team <misc@dartlang.org>

environment:
sdk: '>=2.0.0-dev.9 <2.0.0'
sdk: '>=2.0.0-dev.32 <2.0.0'

dependencies:
json_annotation: ^0.2.2
json_annotation: ^0.2.3

dev_dependencies:
build_runner: ^0.7.6
json_serializable: ^0.4.0
build_runner: ^0.8.0
json_serializable: ^0.5.0

# Used by tests. Not required to use `json_serializable`.
path: ^1.5.1
Expand Down
6 changes: 3 additions & 3 deletions example/test/readme_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ void _expect(String fileName) {

final _pubspecContent = r'''
dependencies:
json_annotation: ^0.2.2
json_annotation: ^0.2.3

dev_dependencies:
build_runner: ^0.7.6
json_serializable: ^0.4.0
build_runner: ^0.8.0
json_serializable: ^0.5.0
''';