In Dart, is it possible to have a list of functions that have a well-defined signature? I'm looking for something like
List<(int, int) -> int> listOfFunctions;
which, of course, is wrong.
I can do
List<Function> listOfFunctions;
but then I don’t know the signature.
Thanks for any tips.
source share