CurlLoggerDioInterceptor constructor

CurlLoggerDioInterceptor({
  1. bool? printOnSuccess,
  2. bool convertFormData = true,
})

Constructs a new CurlLoggerDioInterceptor with optional parameters.

The printOnSuccess parameter determines whether cURL representation should be printed for successful responses. The convertFormData parameter controls whether FormData objects are converted to JSON in the cURL representation.

Implementation

CurlLoggerDioInterceptor({this.printOnSuccess, this.convertFormData = true});