isApplication property

bool get isApplication

Returns true if the byte content is recognized as an application format.

Example MIME types: application/pdf, application/json.

Implementation

bool get isApplication => mime?.startsWith("application") ?? false;