yMapDelete method

void yMapDelete({
  1. required YMap ref,
  2. required String key,
  3. YTransaction? txn,
})

Implementation

void yMapDelete({
  required YMap ref,
  required String key,
  YTransaction? txn,
}) {
  _yMapDelete([
    ref.toWasm(),
    key,
    (txn == null
        ? const None().toWasm()
        : Option.fromValue(txn).toWasm(YTransaction.toWasm))
  ]);
}