jsthrow method
Implementation
JSValue jsthrow(JSValue obj, {bool autoDispose = true}) {
JS_Throw(ref, obj.ref.ref);
return JSValue(
this,
calloc.call(sizeOf<JSValue_>())..ref = JS_Throw(ref, obj.ref.ref),
autoDispose: autoDispose,
);
}