hasContentLength property

  1. @override
bool hasContentLength
override

Whether the request has a known content length.

If false, calling contentLength will require reading the body.

Implementation

@override
bool get hasContentLength => true;