title: flutter: Retrieving multiple document id present inside a collection of firebase
body: <p>I want to get the id of every document in a collection. i tried this code but it return a single document id unlimited times. Can you please suggest a correction or a alternative </p>
  
  <pre><code>getrequest() {
      linkref.document(uuid).
      collection("Requests").getDocuments().then((value) async{
  
        value.documents.forEach((doc) {
          user.add(doc.documentID);
        });},);
    return ListView.builder(
        itemBuilder: (BuildContext cntxt, int index){
          return Text(user[index]);
        });
  }
  </code></pre>
  
  <p>there is a collection  inside a document and inside this collection i have other document. i want to retrieve all documents id</p>
  
  <p>This is screenshot of my firestore</p>
  
  <p><a href="https://i.stack.imgur.com/DlhKa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DlhKa.png" alt="enter image description here"></a></p>