Expand on the documentation for callable classes #4267
Labels
a.language
Relates to the Dart language tour
e2-days
Can complete in < 5 days of normal, not dedicated, work
p2-medium
Necessary but not urgent concern. Resolve when possible.
st.triage.ltw
Indicates Lead Tech Writer has triaged
Page URL
https://dart.dev/language/callable-classes
Page source
https://github.com/dart-lang/site-www/tree/main/src/language/callable-classes.md
Describe the problem
We used to have an article called Emulating functions in Dart, but now have very limited documentation.
Expected fix
We should analyze relevant portions and incorporate what's still relevant, including use cases for the construct.
Perhaps three goals are:
Additional context
Related issues:
Also consider the possibility of removal of implicit tear-offs of
call
: dart-lang/linter#3592The text was updated successfully, but these errors were encountered: