>
</section>
        
                <section class="desc markdown">
          <p>Updates the first position of the list to contain <code>value</code>.</p>
<p>Equivalent to <code>theList[0] = value;</code>.</p>
<p>The list must be non-empty.</p>
        </section>
                <section class="summary source-code" id="source">
          <h2><span>Implementation</span></h2>
          <pre class="language-dart"><code class="language-dart">void set first(E value) {
  if (length == 0) throw IterableElementEr