contentLength property

FutureOr<int> contentLength

The request's content length.

It is recommended to check hasContentLength first for large requests, since calling this getter will result in reading the request's full body if the content length is not known statically.

Implementation

FutureOr<int> get contentLength;