title: Flutter: Autocomplete suggestions shows 'instance of object' instead of name
body: <p>I am using AutoComplete widget available flutter show suggestions list but it shows <code>instance of 'LOTOEmployee'</code> instead of the names of employees.</p>
  <p>where employee list is stored,</p>
  <pre><code>List&lt;LOTOEmployee&gt; employees = [];
  </code></pre>
  <p>code for AutoComplete widget,</p>
  <pre><code>Autocomplete&lt;LOTOEmployee&gt;(
                             optionsBuilder: (value) {
                                    return employee
                                         .where((e) =&gt; e.label.contains(value.text));
                                    },
                                ),
  </code></pre>
  <p>what it is showing</p>
  <p><a href="https://i.stack.imgur.com/WkHPq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WkHPq.png" alt="enter image description here" /></a></p>
  <p>can someone tell me how I can fix it</p>