Created
January 21, 2022 17:49
-
-
Save harsh-2024/cb779e34339df1f570b7883a343989e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void getMessages() async { | |
final msgs = await _fireStore.collection('myMessages').get(); | |
for (var msg in msgs.docChanges) { | |
print(msg.doc.data()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment