SharedWorker constructor

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

Implementation

factory SharedWorker(
  _i2.Object scriptURL, [
  _i2.Object? options,
]) =>
    _i4.callConstructor(
      _declaredSharedWorker,
      [
        scriptURL,
        options ?? _i6.undefined,
      ],
    );