defaultUserListTransform function

Future<List<User>> defaultUserListTransform(
  1. Response response
)

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