      <section class="multi-line-signature">
          <span class="returntype">E</span>
                  <span class="name ">first</span>
          
</section>
        
                <section class="desc markdown">
          <p>Returns the first element.</p>
<p>Throws a <a href="dart-core/StateError-class.html">StateError</a> if <code>this</code> is empty.
Otherwise returns the first element in the iteration order,
equivalent to <code>this.elementAt(0)</code>.</p>
        </section>
                <sec