Back to Writing
NOTESflutterfirebasefirestoredebuggingdart
Flutter - cloud_firestore 0.13.6 Gotcha
June 4, 2020•Updated Feb 17, 2026
When you want to create a document with a random name,
creating it asynchronously like this doesn't work.

It works with synchronous code.
5 hours of debugging. I will never forget this...