title: How to retrun all documents to the list in flutter
body: <p>I want to return my all documents in firestore my document in Identifier based on name but when I do my function its return to me With the same number I have documents but the name its different instance of DocumentSnapshot but I need to return same names I have. How can I do this? Below is the code I am using</p>
  
  <pre><code>Widget build(BuildContext context) {
      // TODO: implement build
      return StreamBuilder &lt; QuerySnapshot &gt; (
          stream: Firestore.instance.collection("Institute")
                  .document(widget.id).collection("Ravs").snapshots(),
          builder: (context, snapshot) {
              if (snapshot.hasData) {
                  print('list of docment:${snapshot.data.documents.toList()}');
              };
              return CircularProgressIndicator();
  
          }
  
      );
  }
  </code></pre>