VersionedSyncConflictResolution<T> class
What an onConflict handler decided to do about a VersionedSyncConflict —
built via one of the 3 named constructors, never directly.
Constructors
- VersionedSyncConflictResolution.merge(T value)
-
Neither side wins outright —
value(built by the caller, e.g. by combining fields from both VersionedSyncConflict.local/VersionedSyncConflict.cloud) becomes the new value on BOTH local storage and the cloud.const - VersionedSyncConflictResolution.preferCloud()
-
const
- VersionedSyncConflictResolution.preferLocal()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mergedValue → T?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strategy → VersionedSyncConflictStrategy
-
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