ZipFile class

Constructors

ZipFile.new({required ZipCompressionMethod compressionMethod, required BigInt lastModifiedTime, int? permissions, required String comment, required FileBytes file, required int crc32, required BigInt compressedSize, required Uint8List extraData, required bool isDir, String? enclosedName})
const
ZipFile.fromJson(Object? json_)
Returns a new instance from a JSON value. May throw if the value does not have the expected structure.
factory

Properties

comment String
final
compressedSize BigInt
final
compressionMethod ZipCompressionMethod
final
crc32 int
final
enclosedName String?
final
extraData Uint8List
final
file FileBytes
final
hashCode int
The hash code for this object.
no setteroverride
isDir bool
final
lastModifiedTime BigInt
final
permissions int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({ZipCompressionMethod? compressionMethod, BigInt? lastModifiedTime, Option<int>? permissions, String? comment, FileBytes? file, int? crc32, BigInt? compressedSize, Uint8List? extraData, bool? isDir, Option<String>? enclosedName}) ZipFile
Returns a new instance by overriding the values passed as arguments
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Returns a JSON representation of this.
toString() String
A string representation of this object.
override
toWasm() List<Object?>
Returns this as a WASM canonical abi value.

Operators

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