title: How to check Fieldvalue in flutter with firebase
body: <p>in my App I want to check if the field which look like this (like : 1 or 0) is 1 or 0. I thought I could get the value from this field in firebase and could check if this is equal to 0. But thats not work. If someone know a way to do that it would be nice.</p>
  <pre><code>if(snapshot2.data.docs[index].get(&quot;liked&quot;) == 0){
                                                  // do stuff
                                                }
  
  </code></pre>