yArrayPush method

void yArrayPush({
  1. required YArray ref,
  2. required JsonArray items,
  3. YTransaction? txn,
})

Implementation

void yArrayPush({
  required YArray ref,
  required JsonArray items,
  YTransaction? txn,
}) {
  _yArrayPush([
    ref.toWasm(),
    items.toWasm(),
    (txn == null
        ? const None().toWasm()
        : Option.fromValue(txn).toWasm(YTransaction.toWasm))
  ]);
}