onHttpResponse method

void onHttpResponse(
  1. Response response, {
  2. dynamic body,
})

Handle both request and response from http package

Implementation

void onHttpResponse(http.Response response, {dynamic body}) {
  _httpAdapter.onResponse(response, body: body);
}