isZip property

bool get isZip

Returns whether this media type is structured as a ZIP archive.

Implementation

bool get isZip =>
    matchesAny([zip, lcpProtectedAudiobook, lcpProtectedPdf]) ||
    structuredSyntaxSuffix == "+zip";