title: Flutter: how to get value from sharedpreferences? when i debug, the value is Instance of 'Future<String>'
body: <p>i entered data using </p>
  
  <pre><code>Future&lt;bool&gt; saveSession() async{
      final SharedPreferences pref = await SharedPreferences.getInstance();
      return pref.setString('test', 'Some Data');
    }
  </code></pre>
  
  <p>and get data using </p>
  
  <pre><code>Future&lt;String&gt; readSession() async{
      final SharedPreferences pref = await SharedPreferences.getInstance();
      return pref.getString('test');
    }
  </code></pre>
  
  <p>when i try to debug it using </p>
  
  <p>print(readSession()); // value is Instance of 'Future' </p>
  
  <p>i dont know why ??</p>
  
  <p>result is Instance of 'Future'</p>