LwwRegister class final

Last-write-wins register: the field with the higher Hybrid Logical Clock wins a merge and the other value is discarded.

This is the default for any field a MergeStrategy does not assign another type, and it matches the behaviour of every field before per-field types.

Inheritance

Constructors

LwwRegister()
Creates a last-write-wins register type.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tag → String
A stable short identifier persisted in the engine's crdt_type column.
no setteroverride

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