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