contentLength property

int? get contentLength

Gets the content length in bytes for the body of the response. If no body or size is unknown, returns null.

Implementation

int? get contentLength => _response.contentLength;