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