callWebMethod<R extends JSAny?> function

R callWebMethod<R extends JSAny?>(
  1. JSObject receiver,
  2. String method, [
  3. List<JSAny?> arguments = const <JSAny?>[]
])

Calls a JavaScript method with a bounded list of arguments.

Implementation

R callWebMethod<R extends JSAny?>(
  JSObject receiver,
  String method, [
  List<JSAny?> arguments = const <JSAny?>[],
]) => receiver.callMethodVarArgs<R>(method.toJS, arguments);