https://github.com/landamessenger/firebase_cloud_firestore
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.
https://github.com/landamessenger/firebase_cloud_firestore
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/landamessenger/firebase_cloud_firestore
- Owner: landamessenger
- License: mit
- Created: 2024-02-14T20:20:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-13T21:15:14.000Z (9 months ago)
- Last Synced: 2025-01-16T07:56:09.231Z (6 months ago)
- Language: Dart
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Firebase Cloud Firestore
[](https://pub.dev/packages/firebase_cloud_firestore)
[](https://travis-ci.org/landamessenger/firebase_cloud_firestore)
[](https://coveralls.io/github/landamessenger/firebase_cloud_firestore?branch=master)> `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.
```dart
final chatDocument = FirebaseFirestore.instance
.collection('chats')
.doc('chat_id')
.asDocument();Chat? chat = await chatDocument.get();
```### [Setup](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Setup)
### [Documents](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Documents)
[- Get Document](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Get-Document)
[- Listen Document](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Listen-Document)
### [Collections](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Collections)
[- Get Collections](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Get-Collections)
[- Listen Collections](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Listen-Collections)
[- Paginate Collections](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Paginate-Collections)
### [Scopes](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Scopes)
[- FirestoreViewModel](https://github.com/landamessenger/firebase_cloud_firestore/wiki/Scopes#firestoreviewmodel)