callMethod<T extends JSAny?> method

T callMethod<T extends JSAny?>(
  1. JSAny method,
  2. [JSAny? arg1,
  3. JSAny? arg2,
  4. JSAny? arg3,
  5. JSAny? arg4]
)

Implementation

T callMethod<T extends JSAny?>(JSAny method,
        [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) =>
    _callMethod(method, arg1, arg2, arg3, arg4) as T;