Skip to content

Instantly share code, notes, and snippets.

@harsh-2024
Created January 21, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harsh-2024/cb779e34339df1f570b7883a343989e4 to your computer and use it in GitHub Desktop.
Save harsh-2024/cb779e34339df1f570b7883a343989e4 to your computer and use it in GitHub Desktop.
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