ResponseCurlExtension extension

Response Curl Extension This extension provides a method to generate a cURL command from a DioException. It is useful for debugging API requests by replicating them in a terminal.

An extension on DioException that generates a cURL command representing the failed API request.

on

Properties

curl String?

Available on DioException, provided by the ResponseCurlExtension extension

Generates a cURL command based on the request details of the Dio exception.
no setter