callConstructor2 method
Implementation
JSValue callConstructor2(
JSValue newTarget, {
List<JSValue>? argv,
bool autoDispose = true,
}) {
argv ??= [];
return JSValue.ptr(
_ctx,
JS_CallConstructor2(
_ctx.ref,
_ref.ref,
newTarget.ref.ref,
argv.length,
argv.ref,
),
autoDispose: autoDispose,
);
}