Allow to declare fields as 'external' for simpler JS interop. #27561
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
type-enhancement
A request for a change that isn't a bug
Currently you have to write both getter and setter to have a field access an external JS field.
There are maybe some language restrinctions that don't allow fields as external but an annotation could solve this problem.
Now:
Proposal:
or:
or:
The text was updated successfully, but these errors were encountered: