bool isEmpty

Whether or not this body is empty or not.

If content-length header is greater than 0.

Source

bool get isEmpty => !_hasContent;