ZipEntry class

Inheritance
Available extensions

Constructors

ZipEntry(ZipPackage archive, ZipLocalFile entry)

Properties

archive → ZipPackage
final
compressedLength → int?
Compressed data length.
no setteroverride
entry → ZipLocalFile
final
hashCode → int
The hash code for this object.
no setterinherited
length → int?
Uncompressed data length.
no setteroverride
path → String
Absolute path to the entry in the archive.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Closes any pending resources for this entry.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({IntRange? range}) → Future<ByteData>
Reads the whole content of this entry. When range is null, the whole content is returned. Out-of-range indexes are clamped to the available length automatically.
override

Available on ArchiveEntry, provided by the ArchiveFileExtension extension

toString() → String
A string representation of this object.
inherited

Operators

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