At the current version of dart sdk (2.7.0) we don’t have a completion for the “call” method for function types. This is leading to third party sollutions to fix this problem, as of: leisim/dartx#16 (comment)
1 thought on “No completion for “call” method on Function objects”
Comments are closed.
WIP (https://dart-review.googlesource.com/c/sdk/+/132920):
Note that since
call
has no backing element (in the analyzer’s element model) it is not rendered w/ the method icon (or return type displayed). If this is significant, we’ll want to accommodate this special case on the client(s) side(s) (e.g., IntelliJ and VS Code).