defaultUserTransform function

Future<User> defaultUserTransform(
  1. Response response
)

Parses the response into a User object in an isolate.

Implementation

Future<User> defaultUserTransform(Response response) async {
  return await compute<String, User>(_isolateUserTransform, response.body);
}