yXmlElementDelete method

void yXmlElementDelete({
  1. required YXmlElement ref,
  2. required int index_,
  3. required int length,
  4. YTransaction? txn,
})

Implementation

void yXmlElementDelete({
  required YXmlElement ref,
  required int /*U32*/ index_,
  required int /*U32*/ length,
  YTransaction? txn,
}) {
  _yXmlElementDelete([
    ref.toWasm(),
    index_,
    length,
    (txn == null
        ? const None().toWasm()
        : Option.fromValue(txn).toWasm(YTransaction.toWasm))
  ]);
}