Tadas Krivickas 06ed7c8205
[dart] [dart-dio] Support Dart3 (#18001)
* Support both dart 2.x and 3.x

* Append dart3 keywords

* Update docs
2024-04-28 22:09:10 +08:00

625 B

What is the purpose?

Running ./save_dart_keywords.sh from this directory will generate dart-keywords.txt which contains the current Dart keywords and is used by the dart generator as a set of reserved words.

When should the keywords be generated?

save_dart_keywords.sh should be run when a new version of Dart is release to update the keywords file.

The last Dart version that was used to generate the keywords can be found in dart-version.txt.

What does the shellscript do?

  1. run the dart app

    • dart run save-dart-keywords.dart
  2. the output is dart-keywords.txt and dart-version.txt