ection>
    <section class="desc markdown">
      <p>Finish the last synchronous operation that was started.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span> </h2>
      <pre class="language-dart"><code class="language-dart">static void finishSync() {
  if (_isProduct) {
    return;
  }
  if (_stack.length == 0) {
    throw new StateError(&#39;Uneven calls to startSync and finishSync&#39;);
  }
  &#47;&#47; Pop top item off of stack.
  var b