hasJsonBody property

bool get hasJsonBody

Whether the body of the request was parseable as JSON.

Allows to disambiguate between a JSON null and a parsing failure in jsonBody.

Implementation

bool get hasJsonBody => _jsonBody.$1;