ode>true</code> data written will be
flushed to the file system before returning.</p>
<p>Throws a <a href="dart-io/FileSystemException-class.html">FileSystemException</a> if the operation fails.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">void writeAsBytesSync(List&lt;int&gt; bytes,
    {FileMode mode: FileMode.write, bool flush: false});</code></pre>
    </section>

  </