apply method

dynamic apply(List args, { thisArg })

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

Source

dynamic apply(List args, {thisArg}) => _apply(args, thisArg: thisArg);

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