onResponse method
Called after a response is received (any status code). You may call
handler.reject to convert a response into an error.
Implementation
void onResponse(ResponseContext context, ResponseHandler handler) =>
handler.next(context);