title: How do i wrap my Dart result value with a Future?
body: <p>I have a function which returns a list of emails, but in side of it, it builds the list and tries to return it.</p>
  
  <p>How do i return the list wrapped in a future?</p>
  
  <pre><code>Future&lt;List&lt;Email&gt;&gt; getEmails(){
    List&lt;Email&gt; emailList = new List&lt;Email&gt;();
      //loop to build a set of dummy data
    return emailList;
  }
  </code></pre>