ZipJob class

A running folder-compression job started by XDrop.startZip.

Bind a progress UI to progress (0..1), await result for the produced .zip (null when cancelled or unsupported; throws on a genuine failure), and call cancel to abort. One-shot — start a new job per drop.

Properties

cancel → VoidCallback
Request cancellation; result then completes with null.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Opaque job id (on macOS also the native correlation key).
final
progress → ValueListenable<double>
Determinate compression fraction, 0..1, updated as the zip proceeds.
final
result → Future<XDropFile?>
Completes with the produced zip; null if cancelled or on a platform without drop support; throws on a genuine zip failure (so the caller can surface it instead of silently sending nothing).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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