I have a collection, within it I have a number of documents. I want to retrieve only the time slots for each document individually and not those in the other collections. Is there a way that I can do this?

Excerpt of the code

```
Row(
      mainAxisAlignment: MainAxisAlignment.spaceEvenly,
      children: [
        for (var i = 0; i < doc["time"].length; i++)
          Padding(
            padding: EdgeInsets.symmetric(
              horizontal: 10.0,
              vertical: 10.0,
            ),
            child: availableSlot(doc["time"][i]),
          ),
      ],
    )

```

Firestore reference

```
final CollectionReference categoriesDetails =
      FirebaseFirestore.instance.collection("collection-name");

```

What I am currently reading as shown in the image below is data from all the other documents. I only want to retrieve data from one document based on user's route (Only the row of data should be seen. The others are from other documents and should not be seen)

[![enter image description here](https://i.stack.imgur.com/HykXH.png)](https://i.stack.imgur.com/HykXH.png)

This is my db

[![enter image description here](https://i.stack.imgur.com/er3Mk.png)](https://i.stack.imgur.com/er3Mk.png)