title: How to return value on async function in flutter?
body: <p>This is my code</p>
  
  <pre><code>SharedPreferences sharedPreferences;
  
    token() async {
      sharedPreferences = await SharedPreferences.getInstance();
      return "Lorem ipsum dolor";
    }
  </code></pre>
  
  <p>When I print, I got this message on debug console</p>
  
  <pre><code>Instance of 'Future&lt;dynamic&gt;'
  </code></pre>
  
  <p>How I can get string of "lorem ipsum..." ? thank you so much</p>