defaultRelationshipTransform function

Future<Relationship> defaultRelationshipTransform(
  1. Response response
)

Parses the response into a Relationship object in an isolate.

Implementation

Future<Relationship> defaultRelationshipTransform(Response response) async {
  return await compute<String, Relationship>(
    _isolateRelationshipTransform,
    response.body,
  );
}