DatumConflictContext class

Context information describing a synchronization conflict.

Constructors

DatumConflictContext({required String userId, required String entityId, required DatumConflictType type, required DateTime detectedAt, DatumSyncMetadata? localMetadata, DatumSyncMetadata? remoteMetadata})
Creates a conflict context.
const

Properties

detectedAt → DateTime
Timestamp when the conflict was detected.
final
entityId → String
Entity ID involved in the conflict.
final
hashCode → int
The hash code for this object.
no setterinherited
localMetadata → DatumSyncMetadata?
Metadata from the local version.
final
remoteMetadata → DatumSyncMetadata?
Metadata from the remote version.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DatumConflictType
Type of conflict detected.
final
userId → String
User ID associated with the conflict.
final

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