ConflictDetectedEvent<T extends DatumEntityBase> class
Event emitted when the engine detects a conflict between local and remote data.
- Inheritance
-
- Object
- DatumSyncEvent<
T> - ConflictDetectedEvent
Constructors
- ConflictDetectedEvent({required String userId, required DatumConflictContext context, T? localData, T? remoteData, DateTime? timestamp})
- Creates a conflict detected event.
Properties
- context → DatumConflictContext
-
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
-
The time at which the event occurred.
finalinherited
- 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