yDocDestroy method
Implementation
void yDocDestroy({
required YDoc ref,
YTransaction? parentTxn,
}) {
_yDocDestroy([
ref.toWasm(),
(parentTxn == null
? const None().toWasm()
: Option.fromValue(parentTxn).toWasm(YTransaction.toWasm))
]);
}