Worker constructor

Worker(
  1. Object scriptURL, [
  2. WorkerOptions? options
])

Implementation

factory Worker(
  _i2.Object scriptURL, [
  _i3.WorkerOptions? options,
]) =>
    _i4.callConstructor(
      _declaredWorker,
      [
        scriptURL,
        options ?? _i6.undefined,
      ],
    );