t</code> to the end of the list.
The first time an object <code>o</code> is encountered so that <code>o == element</code>,
the index of <code>o</code> is returned.</p>
<pre class="language-dart"><code>List&lt;String&gt; notes = ['do', 're', 'mi', 're'];
notes.indexOf('re');    // 1
notes.indexOf('re', 2); // 3
</code></pre>
<p>Returns -1 if <code>element</code> is not found.</p>
<pre class="language-dart"><code>notes.indexOf('fa');    // -1
</code></pre>
    </section>
    
    <section class="summary sourc