ZipPackage class

Constructors

ZipPackage(File file)

Properties

cdEnd ZipEndCentralDirectory
getter/setter pair
centralDirectories List<ZipCentralDirectory>
getter/setter pair
entries Map<String, ZipLocalFile>
getter/setter pair
file File
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopOffset int
getter/setter pair

Methods

entry(String path) ZipLocalFile
extractAsUtf8(String filename) Future<String?>
extractStream(String filename, {IntRange? range}) Future<Stream<List<int>>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes the object to its JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

zlibDecoder ZLibDecoder
final

Static Methods

extract(File file, {required int entryStart, required int entryEnd, required int compressionMethod, IntRange? range}) Future<Stream<List<int>>>
from(File file) Future<ZipPackage?>
fromArchive(File file) Future<ZipPackage?>
raw(File file, {int? start, int? end}) Stream<List<int>>