contentLength property Null safety

int contentLength
read / write

The value of the contentLengthHeader header, if any.

The value is negative if there is no content length set.

Implementation

int contentLength = -1;