isArchive property
bool
get
isArchive
Checks if a file path or URL represents an archive file.
Implementation
bool get isArchive {
final mt = mimeType();
return mt == 'application/zip' ||
mt == 'application/x-rar-compressed' ||
mt == 'application/x-7z-compressed' ||
mt == 'application/x-tar' ||
mt == 'application/x-iso9660-image' ||
mt == 'application/gzip';
}