DatumSyncProgressEvent<T extends DatumEntityInterface> class

Event fired to report synchronization progress.

Inheritance

Constructors

DatumSyncProgressEvent({required String userId, required int completed, required int total, int bytesPushed = 0, int bytesPulled = 0, DateTime? timestamp})
Creates a sync progress event.

Properties

bytesPulled → int
The number of bytes pulled from the remote in this event.
final
bytesPushed → int
The number of bytes pushed to the remote in this event.
final
completed → int
The number of operations completed so far.
final
hashCode → int
The hash code for this object.
no setterinherited
progress → double
The progress of the sync as a value between 0.0 and 1.0.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
The time at which the event occurred.
finalinherited
total → int
The total number of operations in this sync cycle.
final
userId → String
The user ID associated with this event.
finalinherited

Methods

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

Operators

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