contentLength property
The length of the request body. Is set to -1
when no body exists.
Implementation
int get contentLength => hasBody ? _body!.length : -1;
The length of the request body. Is set to -1
when no body exists.
int get contentLength => hasBody ? _body!.length : -1;