ZipFileEncoder class
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.