onHttpResponse method
Handle both request and response from http package
Implementation
void onHttpResponse(
http.Response response, {
dynamic body,
Duration? callDuration,
}) {
_httpAdapter.onResponse(
response,
body: body,
callDuration: callDuration,
);
}