ConflictDetectedEvent<T extends SyncableEntity> class

Event emitted when the engine detects a conflict between local and remote data.

Inheritance

Constructors

ConflictDetectedEvent({required String userId, required ConflictContext context, T? localData, T? remoteData, DateTime? timestamp})
Creates a conflict detected event.

Properties

context → ConflictContext
Context describing the conflict.
final
hashCode → int
The hash code for this object.
no setterinherited
localData → T?
Local version of the data.
final
remoteData → T?
Remote version of the data.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
Timestamp when the event occurred.
finalinherited
userId → String
User ID associated with the 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.
inherited

Operators

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