tation</span></h2>
      <pre class="language-dart"><code class="language-dart">static bool registerPortWithName(SendPort port, String name) {
  assert(port != null, &quot;&#39;port&#39; cannot be null.&quot;);
  assert(name != null, &quot;&#39;name&#39; cannot be null.&quot;);
  return _registerPortWithName(port, name);
}</code></pre>
    </section>

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

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-