defaultUploadStatusTransform function

Future<UploadStatus> defaultUploadStatusTransform(
  1. Response response
)

Parses the response into a UploadStatus object in an isolate.

Implementation

Future<UploadStatus> defaultUploadStatusTransform(Response response) async {
  return await compute<String, UploadStatus>(
    _isolateUploadStatusTransform,
    response.body,
  );
}