onResponse method
Called when the response is about to be resolved.
Implementation
@override
void onResponse(Response response, ResponseInterceptorHandler handler) {
if (Constants.enableDebugLog) {
debugPrint("");
debugPrint("--------------- response ---------------");
debugPrint(response.data.toString());
debugPrint("------------- response end -------------");
debugPrint("");
}
super.onResponse(response, handler);
}