title: How do I get specific values from a datasnapshot in flutter?
body: <p>I have this datasnapshot</p>
  <pre><code>&quot;{post1: {pic: https://i.redd.it/ni6zhxh874011.jpg, title: title, desc: desc}, post2: {pic: https://i.redd.it/krj9miojg5011.jpg, title: awsdas, desc: desc2}}&quot;
  </code></pre>
  <p>and I would like to retrieve the &quot;pic&quot; values from each post. snapshot.value[&quot;pic&quot;] does not work it returns null.</p>
  <p>thanks in advance</p>
  <p>this is how I recieved the datasnapshot for my future builder</p>
  <pre class="lang-dart prettyprint-override"><code>Future&lt;Object&gt; _obj () async {
      Object _objdatabase;
      await FirebaseDatabase.instance.reference().child(&quot;Communities&quot;).once().then((DataSnapshot snapshot) {
          print(_objdatabase.toString());
  
          _objdatabase = snapshot.value; 
      });
      return _objdatabase;
  }    
  </code></pre>