apply method

dynamic apply(
  1. List args, {
  2. dynamic thisArg,
})

Invokes the JavaScript function with arguments args. If thisArg is supplied it is the value of this for the invocation.

Implementation

dynamic apply(List args, {thisArg}) {
  throw UnsupportedError(
      'JavaScript interop is not supported in this runtime.');
}