set method

Future<void> set(
  1. String key,
  2. DVJsonValue? value
)

Writes value, coalescing rapid writes to the same key.

Last write wins, per key. Keys are the conflict unit, so unrelated state in the same window never contends; state that needs merge semantics is model state.

Implementation

Future<void> set(String key, DVJsonValue? value) {
  _reject(key);
  return setReserved(key, value);
}