yXmlTextLength method

int yXmlTextLength({
  1. required YXmlText ref,
  2. YTransaction? txn,
})

Implementation

int /*U32*/ yXmlTextLength({required YXmlText ref, YTransaction? txn}) {
  final results = _yXmlTextLength([
    ref.toWasm(),
    (txn == null
        ? const None().toWasm()
        : Option.fromValue(txn).toWasm(YTransaction.toWasm)),
  ]);
  final result = results[0];
  return result! as int;
}