printLogs method
dynamic
printLogs(
- Dio dio
Implementation
printLogs(Dio dio) {
dio.interceptors.add(
LogInterceptor(
request: true,
requestBody: true,
requestHeader: true,
responseBody: true,
responseHeader: true,
error: true,
logPrint: (object) {
ConditionalLogs().customLog("$object");
},
),
);
}