SharedWorker(String scriptURL, [ String name ])

Source

@DomName('SharedWorker.SharedWorker')
@DocsEditable()
factory SharedWorker(String scriptURL, [String name]) {
  return _blink.BlinkSharedWorker.instance.constructorCallback_2_(scriptURL, name);
}