Invokes the JavaScript function with arguments args
. If thisArg
is supplied it is the value of this
for the invocation.
dynamic apply(List args, {thisArg}) => _convertToDart(JS( '', '#.apply(#, #)', _jsObject, _convertToJS(thisArg), args == null ? null : new List.from(args.map(_convertToJS))));
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-js/JsFunction/apply.html