Skip to content

Simplify 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.

License

Notifications You must be signed in to change notification settings

landamessenger/firebase_cloud_firestore

Repository files navigation

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

About

Simplify 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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages