toInfos method

String toInfos()

Response infos.

Implementation

String toInfos() {
  return 'APIResponse{'
      ' status: $status, headers: $headers'
      '${hasPayload ? ', payloadLength: $payloadLength' : ''}'
      '${payloadMimeType != null ? ', payloadMimeType: $payloadMimeType' : ''}'
      '${error != null ? ', error: $error' : ''}'
      ' }';
}