isJson property

bool get isJson

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

Implementation

bool get isJson => mimeType.isJson;