In most IDEs you can mark a method and search for all usage of that method.
Is there a way to find all implementations, including anonymous, of a given method signature?
In example, I want to find any declared or anonymous method whose signature is (BuildContext, SomeOtherClass). While it's possible there's a typedef somewhere I could use the IDE to search on, it's possible there are multiple methods with this signature that aren't referenced by the typedef, or even multiple typedefs with the same signature but a different name.
My first guess is to look at something like the dart_code_metrics tooling, and possibly have to implement my own analyzer.
Is there something out there already to do this? Am I on the right track with the metrics tool?
Thank you!