put method

  1. @override
Future<void> put(
  1. String table,
  2. String key,
  3. Object? value, {
  4. bool isDeleted = false,
  5. CrdtType crdtType = const LwwRegister(),
})
override

crdtType is ignored: the crdt package's MapCrdt record shape has no slot for it. Typed values are self-describing (they carry their own type tag), so the TypedCrdtTable layer above still merges them correctly; a persistent engine records the type as well.

Implementation

@override
Future<void> put(
  String table,
  String key,
  Object? value, {
  bool isDeleted = false,
  CrdtType crdtType = const LwwRegister(),
}) =>
    _crdt.put(table, key, value, isDeleted);