callFunction method
Implementation
JSValue callFunction({
List<JSValue>? argv,
JSValue? thiz,
bool autoDispose = true,
}) {
argv ??= [];
thiz ??= JSValue.makeUndefined(_ctx);
return JSValue.ptr(
_ctx,
JS_Call(_ctx.ref, _ref.ref, thiz.ref.ref, argv.length, argv.ref),
);
}