contentLength property
override
The value of the contentLengthHeader header, if any.
The value is negative if there is no content length set.
Implementation
@override
int get contentLength => (super.noSuchMethod(
Invocation.getter(#contentLength),
returnValue: 0,
) as int);
override
The value of the contentLengthHeader header, if any.
The value is negative if there is no content length set.
Implementation
@override
set contentLength(int? _contentLength) => super.noSuchMethod(
Invocation.setter(
#contentLength,
_contentLength,
),
returnValueForMissingStub: null,
);