defaultTweetSearchTransform function

Future<TweetSearch> defaultTweetSearchTransform(
  1. Response response
)

Parses the response into a TweetSearch object in an isolate.

Implementation

Future<TweetSearch> defaultTweetSearchTransform(Response response) async {
  return await compute<String, TweetSearch>(
    _isolateTweetSearchTransform,
    response.body,
  );
}