Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-16T17:30:07.000Z (6 months ago)
- Last Synced: 2024-06-16T19:17:03.313Z (6 months ago)
- Language: Dart
- Size: 30.3 KB
- Stars: 0
- 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
[![Pub Version](https://img.shields.io/pub/v/firebase_cloud_firestore.svg)](https://pub.dev/packages/firebase_cloud_firestore)
[![Build Status](https://travis-ci.org/landamessenger/firebase_cloud_firestore.svg?branch=master)](https://travis-ci.org/landamessenger/firebase_cloud_firestore)
[![Coverage Status](https://coveralls.io/repos/github/landamessenger/firebase_cloud_firestore/badge.svg?branch=master)](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)