contentLength property
int
contentLength
Content length of the response or -1 if not specified
Implementation
int get contentLength =>
int.parse(headers[Headers.contentLengthHeader]?.first ?? '-1');
Content length of the response or -1 if not specified
int get contentLength =>
int.parse(headers[Headers.contentLengthHeader]?.first ?? '-1');