callMethodVarArgs<T extends JSAny?> method

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

Calls a method on this JSObject with a variable number of arguments and returns the result.

Implementation

T callMethodVarArgs<T extends JSAny?>(JSAny method,
        [List<JSAny?>? arguments]) =>
    _callMethodVarArgs(method, arguments) as T;