SyncEvent class

The class for monitoring synchronization progress.

This class instance can be passed into the NetCoreSyncClient.netCoreSyncSynchronize() call to monitor the synchronization progress. The progressEvent function is a callback that will be invoked by the framework for every progress. The message will have an information of the stage, the indeterminate indicates whether the current progress is deterministic (has a progress value) or not, and the value will have a ranged value between 0.0 and 1.0 for deterministic progress. For non-deterministic, the value will always be zero.

Please read the Synchronization Progress Event in the netcoresync_moor documentation for more details.

Constructors

SyncEvent({void progressEvent(String message, bool indeterminate, double value)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
progressEvent ↔ (void Function(String message, bool indeterminate, double value)?)
getter/setter pair
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