Open kallentu opened 2 weeks ago
Summary: This issue proposes adding an experiment flag to Dart for enum shorthands, a potential new language feature. The flag would allow developers to opt-in to the feature and provide a mechanism for gradual rollout and testing.
Add an experiment flag to Dart and put all implementation code under it.
The implementation issue for a potential new language feature being considered: https://github.com/dart-lang/language/issues/357
Checklist for experiment flag
enum-shorthands