I'm trying to list the names of every folder in my Firebase database.
My folder structure looks something like this:
folder_of_users-
user1 -
"name": "bob",
"occupation": "emperor"
user2 -
"name": "jennifer",
"occupation": "surgeon"
user3 -
"name": "jason"
"occupation": "butler for emperor"
I want to make a ListView displaying user1, user2, and user3, but I'm not sure how to do that. Sorry if this is a silly question!
Edit: To be clear, I'm using FireBase's Realtime database, and I'm using Flutter. I'm trying to show the actual names of the folders, so in my example:
user1
user2
user3
Not, the actual contents of which. Again, sorry for any misconceptions, or if this is a dumb question!