Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)