Skip to content Skip to sidebar Skip to footer

Flutter App Background Use Of The Compute Function

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

Solution 1:

You need to import the foundation package. Put this in the beginning of the file

import 'package:flutter/foundation.dart';

Post a Comment for "Flutter App Background Use Of The Compute Function"