SyncEvent class
Sync event emitted during cloud synchronization operations.
Constructors
- SyncEvent({required String id, required SyncStatus status, ScanResult? result, String? errorMessage, int retryCount = 0, required DateTime timestamp})
-
const
Properties
- errorMessage → String?
-
Error message if sync failed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this sync event.
final
- result → ScanResult?
-
Scan result being synced (null if status-only event).
final
- retryCount → int
-
Retry attempt count for this item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → SyncStatus
-
Current sync status of the item.
final
- timestamp → DateTime
-
Timestamp of this sync event.
final
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