hasBody property

bool get hasBody

Specifies whether or not the HTTP request has a body.

Implementation

bool get hasBody => _body != null;