span class="kind-method">closeSync</span> method</h1></div>

    <section class="multi-line-signature">
      <span class="returntype">void</span>
            <span class="name ">closeSync</span>
(<wbr>)
      
    </section>
    <section class="desc markdown">
      <p>Closes the controller and delivers a done event.</p>
<p>Closes the controller like <a href="dart-async/StreamController/close.html">close</a> and attempts to deliver a "done"
event immediately.
Delivery can be delayed if other previously add