Hello,
I am trying to pass a dart function to javascript, keep it in reference, and later, when one of the javascript has a callback from a webservice, call the dart function.
It works well if I call the dart function directly in the javascript function, but when I keep its reference and call it later, it crash indicating that call method is not found.
Is there a documentation on how I could work this out (flutter / js interop) ?
Thank you,
Simon