defaultUserListTransform function
Parses the response
into a list of User objects in an isolate.
Implementation
Future<List<User>> defaultUserListTransform(Response response) async {
return await compute<String, List<User>>(
_isolateUserListTransform,
response.body,
);
}