title: How can i get only my messages from firestore in Flutter
body: <p>I want to create profile page and of course profile page has to be just 1 person posts. So how we can write the code ?</p>
  <p>My main page has all of people posts with this code :</p>
  <pre><code>@override
    Widget build(BuildContext context) {
       return StreamBuilder(
       // stream: FirebaseFirestore.instance.collectionGroup('Posts').snapshots(),
      
       stream: FirebaseFirestore.instance.collectionGroup('Posts').snapshots(),
        builder: (context, snapshotMsg) {
          if (!snapshotMsg.hasData) {
            return Center(child: CircularProgressIndicator());
          } else {
            return ListView.builder(
              itemCount: snapshotMsg.data.documents.length,
              itemBuilder: (context, index) {
                if (!snapshotMsg.hasData) {
                  return Center(child: CircularProgressIndicator());
                } else {
                  final dataMsg = snapshotMsg.data.documents[index];
                  return FutureBuilder(
                    future: FirebaseFirestore.instance
                        .collection('Users')
                        .doc(dataMsg.reference.parent.parent.id)
                        .get(),
                    builder: (context, snapshotUser) {
                      if (!snapshotMsg.hasData) {
                        return Center(child: CircularProgressIndicator());
                      } else {
                        final dataUser = snapshotUser.data;
                        if (dataUser == null) {
                          return Center(child: CircularProgressIndicator());
                        } else {
                          return homePageCard(context,dataMsg: dataMsg, dataUser: dataUser,);
                        }
                      }
                    },
                  );
                }
              },
            );
          }
        });
    }
  </code></pre>
  <p>But as a said, this code has all of users posts. What should i change in here for seeing just my posts ?</p>
  <p>( I tried to
  <code>stream:FirebaseFirestore.instance.collection('Users').doc().collection('Posts').snapshots()</code>
  this code but it gives error... )</p>
  <p>my firebase screenshots:
  <a href="https://i.stack.imgur.com/i35hB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i35hB.png" alt="my firebase screenshots:" /></a></p>
  <p><a href="https://i.stack.imgur.com/SCE36.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SCE36.png" alt="enter image description here" /></a></p>