File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ dependencies to your `pubspec.yaml`.
5
5
6
6
``` yaml
7
7
dependencies :
8
- json_annotation : ^3 .0.0
8
+ json_annotation : ^4 .0.0
9
9
10
10
dev_dependencies :
11
11
build_runner : ^1.0.0
12
- json_serializable : ^3.2 .0
12
+ json_serializable : ^4.0 .0
13
13
` ` `
14
14
15
15
Annotate your code with classes defined in
Original file line number Diff line number Diff line change @@ -4,23 +4,17 @@ environment:
4
4
sdk : ' >=2.12.0-0 <3.0.0'
5
5
6
6
dependencies :
7
- json_annotation : ^3 .0.0
7
+ json_annotation : ^4 .0.0
8
8
9
9
dev_dependencies :
10
10
build_runner : ^1.0.0
11
11
12
12
# Used by tests. Not required to use `json_serializable`.
13
13
build_verify : ^1.0.0
14
14
15
- json_serializable : ^3.2 .0
15
+ json_serializable : ^4.0 .0
16
16
17
17
# Used by tests. Not required to use `json_serializable`.
18
18
path : ^1.8.0
19
19
# Used by tests. Not required to use `json_serializable`.
20
20
test : ^1.16.0
21
-
22
- dependency_overrides :
23
- json_annotation :
24
- path : ../json_annotation
25
- json_serializable :
26
- path : ../json_serializable
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ void _expect(String fileName) {
25
25
26
26
const _pubspecContent = r'''
27
27
dependencies:
28
- json_annotation: ^3 .0.0
28
+ json_annotation: ^4 .0.0
29
29
30
30
dev_dependencies:
31
31
build_runner: ^1.0.0
32
- json_serializable: ^3.2 .0
32
+ json_serializable: ^4.0 .0
33
33
''' ;
You can’t perform that action at this time.
0 commit comments