curlCommand property

String? get curlCommand

Generates a cURL command for HTTP logs, or null for non-HTTP entries.

Headers, URL credentials/query secrets, and bodies are redacted by default.

Implementation

String? get curlCommand => curlCommandWith();