There is no option in firestore to rename a document . The way the most uses is to create a new document with the new name and the data that been in the old document, then delete the old document.
Read moreHow do I get documents from firestore flutter?
“flutter firestore get one document” Code Answer’s
Read moreHow do I retrieve data from Firebase firestore in flutter?
Call the getDocs() function, then use the build function, then print all the document IDs in the console . Here is how you do it! Get all data from the collection that you found working, without using deprecated methods.
Read moreHow do I use cloud firestore with flutter?
Firestore Tutorial for Flutter: Getting Started
Read moreHow do I get data from cloud firestore in flutter?
How to get all data from a Firestore collection in flutter?
Read moreHow do I retrieve my firestore data?
There are two ways to retrieve data stored in Cloud Firestore. Either of these methods can be used with documents, collections of documents, or the results of queries: Call a method to get the data . Set a listener to receive data-change events.
Read moreHow do I display data from Firebase database in flutter?
After completing the above setup follow these steps:
Read more