onDebug property
LuckyDebugCallback?
get
onDebug
User-supplied debug callback, or null to disable debug output.
Provides structured event data including request/response details. Wire
this to your own logger. The interceptor is only added to Dio when
debugMode is true and this value is non-null.
Implementation
LuckyDebugCallback? get onDebug => null;