dupValueRT method

JSValue dupValueRT({
  1. bool autoDispose = true,
})

Implementation

JSValue dupValueRT({bool autoDispose = true}) {
  return JSValue.ptr(
    _ctx,
    JS_DupValueRT(_ctx.ref, _ref.ref),
    autoDispose: autoDispose,
  );
}