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