CurlInterceptor constructor

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

Constructor for the CurlInterceptor.

printOnSuccess determines if successful responses should log cURL commands. convertFormData determines if FormData should be converted to JSON-like structures.

Implementation

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