isGZ property

bool get isGZ

Checks if a file path or URL represents a GZIP compressed file.

Implementation

bool get isGZ {
  final mt = mimeType();
  return mt == 'application/gzip';
}