How to set, get and update data to the cloud firestore in flutter?
问题 I tried some code but getting an exception. The Exception that I'm getting: java.lang.IllegalArgumentException: Invalid document reference. Document references must have an even number of segments, but Users has 1 I searched for it, according to this, Document references must have an even number of segments like: Collection - document - Collection - document - Collection - document Query for getting data from firestore: String getIsNewUSer; Firestore.instance.collection('Users').document(uid)