s="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">int pass() {
  if (_stack.length &gt; 0) {
    throw new StateError(
        &#39;You cannot pass a TimelineTask without finishing all started &#39;
        &#39;operations&#39;);
  }
  int r = _taskId;
  return r;
}</code></pre>
    </section>

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

  <div id="dartdoc-sidebar-right" class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanv