defaultTweetListTransform function

Future<List<Tweet>> defaultTweetListTransform(
  1. Response response
)

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,
  );
}