isText property

bool get isText

Checks if this is text

Implementation

bool get isText => mediaType.startsWith('text/');