apply method Null safety

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});