Commit efa1155 1 parent 3895ccf commit efa1155 Copy full SHA for efa1155
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ and a `fromJson` deserialization constructor.
56
56
57
57
2 . Run ` dart --version ` and make sure you have Dart version ` 3.5.0-152 ` or later.
58
58
59
- 3 . Edit the [ SDK constraint] [ ] in your pubspec to require that Dart version: ` sdk: ^3.5.0-152 `
59
+ 3 . Edit the [ SDK constraint] [ ] in your pubspec to require the Dart version: ` sdk: ^3.5.0-152 ` .
60
60
61
- 4 . [ Add the package] [ ] ` json ` to ` dependencies ` in your pubspec and run ` pub get ` .
61
+ 4 . [ Add the package] [ ] ` json ` to ` dependencies ` : ` dart pub add json ` .
62
62
63
- 5 . [ Add the experiment] [ ] to the ` analysis_options.yaml `
63
+ 5 . [ Enable the experiment] [ ] in your package's ` analysis_options.yaml ` file.
64
64
file at the root of your project:
65
65
66
66
``` yaml
@@ -83,7 +83,7 @@ and a `fromJson` deserialization constructor.
83
83
84
84
[ SDK constraint ] : /tools/pub/pubspec#sdk-constraints
85
85
[ Add the package ] : /guides/packages
86
- [ Add the experiment] : /tools/experiment-flags#using-experiment-flags-with-the-dart-analyzer-command-line-and-ide
86
+ [ Enable the experiment] : /tools/experiment-flags#using-experiment-flags-with-the-dart-analyzer-command-line-and-ide
87
87
88
88
### Use the macro
89
89
You can’t perform that action at this time.
0 commit comments