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