onResponse method
Called when the response is about to be resolved.
Implementation
@override
void onResponse(Response response, ResponseInterceptorHandler handler) async {
if (kIsDebug) {
if (saveResponseUseCase != null) {
await saveResponseUseCase!.execute(response);
}
}
super.onResponse(response, handler);
}