Last updated:
0 purchases
firebase cloud firestore
Firebase Cloud Firestore #
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 should be aligned with cloud_firestore version.
final chatDocument = FirebaseFirestore.instance
.collection('chats')
.doc('chat_id')
.asDocument();
Chat? chat = await chatDocument.get();
copied to clipboard
Setup #
Documents #
- Get Document
- Listen Document
Collections #
- Get Collections
- Listen Collections
- Paginate Collections
Scopes #
- FirestoreViewModel
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.