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

external dynamic apply(List args, {thisArg});

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-js/JsFunction/apply.html