SharedWorker constructor

SharedWorker(
  1. String scriptURL, [
  2. dynamic options
])

Implementation

factory SharedWorker(String scriptURL, [dynamic options]) =>
    SharedWorker._(scriptURL, options ?? undefined);