onResponse method
void
onResponse(
- Response response, {
- dynamic body,
Handles http response. It creates both request and response from http call
Implementation
void onResponse(http.Response response, {dynamic body}) =>
_onResponse(response, body: body);