toString method

  1. @override
String toString()
override

toString redacts the body and the contents of headers. Subscribers must use this form, not the raw fields.

Implementation

@override
String toString() => 'GatewayTransportRequest('
    'method=$method, url=$url, '
    'headerCount=${headers.length}, '
    'bodyBytes=${body?.length ?? 0}, '
    'timeoutMs=${timeout.inMilliseconds})';