-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Efra Espada edited this page Feb 15, 2024
·
4 revisions
cloud_firestore
+object
This Dart library extends the functionality of the cloud_firestore
and object
packages, providing additional features for observing collections and documents, as well as implementing pagination functions for collections.
It simplifies the serialization of objects for cloud_firestore in a Flutter app. It streamlines the process of converting Dart objects into formats compatible with cloud_firestore, making data storage and retrieval smoother and more efficient for developers.
The
firebase_cloud_firestore
version will always be aligned withcloud_firestore
version.
final chatDocument = FirebaseFirestore.instance.collection('chats').doc('chat_id').asDocument();
Chat chat = await chatDocument.get();