ZipFileEncoder class

Constructors

ZipFileEncoder({String? password})

Properties

hashCode int
The hash code for this object.
no setterinherited
password String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zipPath String
getter/setter pair

Methods

addArchiveFile(ArchiveFile file) → void
addDirectory(Directory dir, {bool includeDirName = true, int? level, bool followLinks = true, void onProgress(double)?}) Future<void>
addFile(File file, [String? filename, int? level = GZIP]) Future<void>
close() Future<void>
closeSync() → void
create(String zipPath, {int? level, DateTime? modified}) → void
createWithBuffer(OutputFileStream outputFileStream, {int? level, DateTime? modified}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String zipPath) → void
toString() String
A string representation of this object.
inherited
zipDirectory(Directory dir, {String? filename, int? level, bool followLinks = true, void onProgress(double)?, DateTime? modified}) → void
Zips a dir to a Zip file synchronously.
zipDirectoryAsync(Directory dir, {String? filename, int? level, bool followLinks = true, void onProgress(double)?, DateTime? modified}) Future<void>
Zips a dir to a Zip file asynchronously.

Operators

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

Constants

GZIP → const int
STORE → const int