ZipFileWriter class
Writes data to a Zip archive.
Constructors
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(
) → 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}) → 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}) → void -
Writes the specified data as a Zip archive entry
name
. -
writeFile(
String name, File file, {bool compress = true}) → void -
Writes the data contained in the specified file as a Zip archive
entry
name
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited