VersionedSyncConflict<T> class
Both sides of a genuine VersionedJsonStore.syncWith conflict — local and cloud both have DIFFERENT data (see VersionedJsonStore.syncWith's own doc for exactly when this is raised), so picking a winner by timestamp alone risks silently discarding real progress from whichever device loses.
Constructors
-
VersionedSyncConflict({required VersionedSyncConflictSide<
T> local, required VersionedSyncConflictSide<T> cloud}) -
const
Properties
-
cloud
→ VersionedSyncConflictSide<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
local
→ VersionedSyncConflictSide<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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