onResponse method
Called after a response is received, before status-code branching.
Inspect the response (status code, headers). Must NOT consume
the stream body.
Implementation
Future<StreamedResponse> onResponse(StreamedResponse response) async =>
response;