Flutter query multiple collections in firestore

Posted by Andre Scott | Updated on

Flutter query multiple collections in firestore. Short answer i didn’t pay attention to how you use a future. Get the productId from the user table.

Then call this using .then() rather than try to apply the returned data to the variable as that is not how a future it works:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers