Dart Client - Response Filter Access to Body or DTO

I’m minimally trying to just log the response dto’s returned but can’t figure out how to get access to them in the response filter.

(client as JsonServiceClient).responseFilter = (res) {

     debugPrint(res.?)

    };

Only the HttpClient’s http response is available, not the response DTO which hasn’t been constructed yet (and not always created for all requests).

Here’s an example of reading from the http response body for text responses;

Although not sure if this is a forward-only API and rereading it might prevent the client from being able to.