onResponse method
Called when the response is about to be resolved.
Implementation
@override
void onResponse(Response response, ResponseInterceptorHandler handler) async {
if (_httpLoggerFilter == null || _httpLoggerFilter!()) {
final message = _prepareLog(response.requestOptions, response);
if (message != '' && !kReleaseMode) {
_logger.i(message);
}
}
super.onResponse(response, handler);
}