yMapSet method
void
yMapSet({
- required YMap ref,
- required String key,
- required JsonValueItem value,
- YTransaction? txn,
Implementation
void yMapSet({
required YMap ref,
required String key,
required JsonValueItem value,
YTransaction? txn,
}) {
_yMapSet([
ref.toWasm(),
key,
value.toWasm(),
(txn == null
? const None().toWasm()
: Option.fromValue(txn).toWasm(YTransaction.toWasm))
]);
}