Метод apply
dynamic apply(Вызывает функцию JavaScript с аргументами args. Если thisArg указано, оно является значением this для вызова.
Исходный код
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