Add a short-hand for redirecting function calls #30116
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-stale
Closed as the issue or PR is assumed stale
type-enhancement
A request for a change that isn't a bug
I ❤️ the fact that factory constructors accept an "=" symbol:
With the addition of optional new/const, the difference between static functions and factory constructors seems basically to be the ability to say "const" and the ability to be able to use this awesome syntax.
I'd love to be able to use this for all method invocations:
This would also make invoking
super
in general so nice if allowed:Or to use generated functions without writing lots of boilerplate:
The text was updated successfully, but these errors were encountered: