lue">0</span>, </span> <span class="parameter" id="lock-param-end"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">end</span> = <span class="default-value">-1</span></span> ])
      
    </section>
    <section class="desc markdown">
      <p>Locks the file or part of the file.</p>
<p>By default an exclusive lock will be obtained, but that can be overridden
by the <code>mode</code> argument.</p>
<p>Locks the byte range from <code>start</code> to <