title: Filter out specific objects of Iterable list by specific property
body: <p>I have an Iterable list that I am sorting by for different values. I want to add a new filter for users to filter out the list to just show a specific property the list contains. I am trying to use <code>.where</code>, but it does not seem to be working and I am not sure what to do. I have searched the web and see many examples on how to filter out just a plain list for a specific value in the objects with comparable but not able to get this to where for an Iterable list.</p>
  <p>Here is what I am trying and not getting any results I would expect.</p>
  <pre><code>case 'specificValue':
      return sorted.where((t) =&gt; t.state == 'speficicValue').toList();
  </code></pre>
  <p>Not sure if <code>.where</code> is the right way to filter out an Iterable list by a specific value within the objects of the list.</p>