Skip to content

Commit efa1155

Browse files
mit-mitMaryaBelangerparlough
authored
Apply suggestions from code review
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com> Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 3895ccf commit efa1155

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/language/macros.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ and a `fromJson` deserialization constructor.
5656

5757
2. Run `dart --version` and make sure you have Dart version `3.5.0-152` or later.
5858

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`.
6060

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`.
6262

63-
5. [Add the experiment][] to the `analysis_options.yaml`
63+
5. [Enable the experiment][] in your package's `analysis_options.yaml` file.
6464
file at the root of your project:
6565

6666
```yaml
@@ -83,7 +83,7 @@ and a `fromJson` deserialization constructor.
8383

8484
[SDK constraint]: /tools/pub/pubspec#sdk-constraints
8585
[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
8787

8888
### Use the macro
8989

0 commit comments

Comments
 (0)