You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 27, 2021. It is now read-only.
Where is the dummy function declared? Is it a top-level or static function, or is it declared locally in another function. Only top-level and static functions are allowed as argument to Isolate.spawn.
Is definitively a top-level function it's declared in the main.dart file with no class around it and it's directly called from the main function of the same file
I have a simple dummy function:
void count(int num){ int x = num+1; }
which I'm calling with Isolate.spawn:
Isolate.spawn(count,100);
This causing this exception:
The text was updated successfully, but these errors were encountered: