></span> <span class="parameter-name">name</span>]</span></li>
</ol>)
    </section>

    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">factory SharedWorker(String scriptURL, [String name]) {
  if (name != null) {
    return SharedWorker._create_1(scriptURL, name);
  }
  return SharedWorker._create_2(scriptURL);
}</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-s