>
<pre class="language-dart"><code>List&lt;String&gt; notes = ['do', 're', 'mi', 're'];
notes.lastIndexWhere((note) =&gt; note.startsWith('r'));       // 3
notes.lastIndexWhere((note) =&gt; note.startsWith('r'), 2);    // 1
</code></pre>
<p>Returns -1 if <code>element</code> is not found.</p>
<pre class="language-dart"><code>notes.lastIndexWhere((note) =&gt; note.startsWith('k'));    // -1
</code></pre>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation<