The question is published on by Tutorial Guruji team.
I’m learning Flutter and in my first app I try to use http to fetch a list of users. When I try to parse json response data using ‘compute’ function, my code broken.
"The function 'compute' ins't defined"
I have no idea what’s happening.
You need to import the foundation package. Put this in the beginning of the file