isZIP property

bool get isZIP

Checks if a file path or URL represents a ZIP archive.

Implementation

bool get isZIP {
  final mt = mimeType();
  return mt == 'application/zip';
}