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

Methods

addArchiveFile(ArchiveFile file) → void
addDirectory(Directory dir, {bool includeDirName = true, int? level, bool followLinks = true, void onProgress(double)?, ZipFileProgress? filter}) 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
createWithStream(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, ZipFileProgress? filter}) 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