callMethodVarArgs<R extends JSAny?> method
Calls method on this JSObject with a variable number of arguments.
Returns the result of calling method, which must be an R.
Implementation
R callMethodVarArgs<R extends JSAny?>(JSAny method,
[List<JSAny?>? arguments]) =>
_callMethodVarArgs(method, arguments) as R;