isRTF property

bool get isRTF

Checks if the file path or URL represents a Rich Text Format document.

Returns true if the MIME type is application/rtf.

Implementation

bool get isRTF {
  final mt = mimeType();
  return mt == 'application/rtf';
}