Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 2.23 KB

README.md

File metadata and controls

42 lines (25 loc) · 2.23 KB

Firebase Cloud Firestore

Pub Version Build Status Coverage Status

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();

- Get Document

- Listen Document

- Get Collections

- Listen Collections

- Paginate Collections

- FirestoreViewModel