put method
void
put(
- K key,
- V? value
Inserts or updates a value in the CRDT and increments the canonical time.
Implementation
void put(K key, V? value) {
_canonicalTime = Hlc.send(_canonicalTime);
final record = Record<V>(_canonicalTime, value, _canonicalTime);
putRecord(key, record);
}