isTXT property
bool
get
isTXT
Checks if the file path or URL represents a plain text document.
Returns true if the MIME type is text/plain.
Implementation
bool get isTXT {
final mt = mimeType();
return mt == 'text/plain';
}