callMethodVarArgs<R extends JSAny?> method

R callMethodVarArgs<R extends JSAny?>(
  1. JSAny method,
  2. [List<JSAny?>? arguments]
)

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;