isJson property

bool isJson

Returns true if the mime type of HTTP request is JSON.

Implementation

bool get isJson => mimeType.isJson;