apply method
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}) => _convertToDart(JS(
'',
'#.apply(#, #)',
_jsObject,
_convertToJS(thisArg),
args == null ? null : List.from(args.map(_convertToJS))));