ZipFile class Null safety

Constructors

ZipFile([InputStreamBase? input, ZipFileHeader? header, String? password])

Properties

compressedSize int?
read / write
compressionMethod int
read / write
content List<int>
Get the decompressed content from the file. The file isn't decompressed until it is requested.
read-only
crc32 int?
read / write
extraField List<int>
read / write
filename String
read / write
flags int
read / write
hashCode int
The hash code for this object.
read-onlyinherited
read / write
lastModFileDate int
read / write
lastModFileTime int
read / write
rawContent → dynamic
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
signature int
read / write
uncompressedSize int?
read / write
version int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
verifyCrc32() bool
This will decompress the data (if necessary) in order to calculate the crc32 checksum for the decompressed data and verify it with the value stored in the zip.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

BZIP2 → const int
12
DEFLATE → const int
8
SIGNATURE → const int
0x04034b50
STORE → const int
0