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`.
55
66``` yaml
77dependencies :
8- json_annotation : ^3 .0.0
8+ json_annotation : ^4 .0.0
99
1010dev_dependencies :
1111 build_runner : ^1.0.0
12- json_serializable : ^3.2 .0
12+ json_serializable : ^4.0 .0
1313` ` `
1414
1515Annotate your code with classes defined in
Original file line number Diff line number Diff line change @@ -4,23 +4,17 @@ environment:
44 sdk : ' >=2.12.0-0 <3.0.0'
55
66dependencies :
7- json_annotation : ^3 .0.0
7+ json_annotation : ^4 .0.0
88
99dev_dependencies :
1010 build_runner : ^1.0.0
1111
1212 # Used by tests. Not required to use `json_serializable`.
1313 build_verify : ^1.0.0
1414
15- json_serializable : ^3.2 .0
15+ json_serializable : ^4.0 .0
1616
1717 # Used by tests. Not required to use `json_serializable`.
1818 path : ^1.8.0
1919 # Used by tests. Not required to use `json_serializable`.
2020 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) {
2525
2626const _pubspecContent = r'''
2727dependencies:
28- json_annotation: ^3 .0.0
28+ json_annotation: ^4 .0.0
2929
3030dev_dependencies:
3131 build_runner: ^1.0.0
32- json_serializable: ^3.2 .0
32+ json_serializable: ^4.0 .0
3333''' ;
You can’t perform that action at this time.
0 commit comments