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() → void
create(String zipPath, {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
zipDirectoryAsync(Directory dir, {String? filename, int? level, bool followLinks = true, void onProgress(double)?, DateTime? modified}) Future<void>

Operators

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

Constants

GZIP → const int
STORE → const int