ZipFileWriter class

Writes data to a Zip archive asynchronously.

Constructors

ZipFileWriter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the writer. After closing no further write operations are allowed. You can however call create again using a new file.
create(File file, {int compressionLevel = kDefaultCompressionLevel}) Future<void>
Creates a new Zip archive in the speficied file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
writeData(String name, Uint8List data, {bool compress = true}) Future<void>
Writes the specified data as a Zip archive entry name.
writeFile(String name, File file, {bool compress = true}) Future<void>
Writes the data contained in the specified file as a Zip archive entry name.

Operators

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