JSFunctionUnsafeUtilExtension extension

on

Methods

callAsConstructor<T>([JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → T
Calls this JSFunction as a constructor with up to four arguments and returns the constructed JSObject.
callAsConstructorVarArgs<T extends JSObject>([List<JSAny?>? arguments]) → T
Calls this JSFunction as a constructor with a variable number of arguments and returns the constructed JSObject.