hasBody property Null safety

bool hasBody

Specifies whether or not the HTTP request has a body.

Implementation

bool get hasBody => _body != null;