-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display Collection as a List #77
Comments
I find that it is best practice to not co-mingle database access code w/ the UI code. Back to your question, what you do is that you query on a collection reference then iterate over each element on the page, which is a document that can directly be converted to a Map type. Here is an example from my data access code:
|
thanks you, you saved my day bro |
I want to make a list based on my collection like picture above
but the thing is firedart dsnt return document snapshot How I can display that ? because I using Map<String, dynamic >
the return Type is Page document level not a Map<String, dynamic>
The text was updated successfully, but these errors were encountered: