onResponse method
Implementation
@override
FutureOr<UnifiedResponse> onResponse(UnifiedResponse response) async {
if (showLogs) {
debugPrint('[UnifiedHttpClient] ← status ${response.statusCode}');
if (response.data != null) {
debugPrint('[UnifiedHttpClient] response: ${response.data}');
}
}
return onResponseOverride?.call(response) ?? response;
}