A Dart Converter for firestore

Overview

Converter for firestore

Usage

  final converter = EntityFirestoreConverter<House>(fromMap: House.fromMap);
  final collectionReference = firestore.collection(col).withConverter<House>(
        fromFirestore: converter.fromFirestore,
        toFirestore: converter.toFirestore,
      );
  final listResult = await firestore.collection(col).get();
  List<House> house = listResult.data();
  final oneResult = await firestore.collection(col).doc('x').get();
  House? house = oneResult.data();

serverSideTimeStampTimeout

If the [serverSideTimeStampTimeout] is specified, DateTime in the object will be converted to server side timestamp if those are between the moment of update MU and MU - timeout.

The default is null (no effect)

You might also like...

Flutter + Firestore -- home io app

homeio A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this i

Dec 18, 2021

Implementing simple storage operations, CRUD (Create, Read, Update, Delete), using Firebase Firestore

Implementing simple storage operations, CRUD (Create, Read, Update, Delete), using Firebase Firestore

CRUD Firebase Implementing simple storage operations, CRUD (Create, Read, Update

Oct 29, 2022

Flutter web example with Firebase Authentication, Firestore Collection, BloC Pattern

flutter_auth_web Flutter Firebase auth. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Feb 26, 2022

[Flutter Library] Flamingo is a firebase firestore model framework library. ๐Ÿค

[Flutter Library] Flamingo is a firebase firestore model framework library. ๐Ÿค

Flamingo Flamingo is a firebase firestore model framework library. https://pub.dev/packages/flamingo ๆ—ฅๆœฌ่ชžใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆ Example code See the example directory

Sep 22, 2022

Ifoodcare - Food Donation App in Flutter using Firebase Auth, Firestore

Ifoodcare - Food Donation App in Flutter using Firebase Auth, Firestore

Food Donation App in Flutter using Firebase Auth, Firestore

Nov 17, 2022

Flutter mobile app with firestore authentication including Email and Social auth.

Flutter mobile app with firestore authentication including Email and Social auth.

Flutter mobile app with firestore authentication including Email and Social auth.

Dec 7, 2022

A Flutter plugin for fetching Firestore documents with read from cache first then server.

A Flutter plugin for fetching Firestore documents with read from cache first then server.

Firestore Cache A Flutter plugin for fetching Firestore documents with read from cache first then server. This plugin is mainly designed for applicati

Nov 24, 2022

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage

Dec 24, 2022

Cross Platform app in Flutter with Firebase Auth and Firestore. Available for Mobile,Web,Desktop

Cross Platform app in Flutter with Firebase Auth and Firestore. Available for Mobile,Web,Desktop

NavokiNotes Navoki Notes, a note app app, will sync data to cloud and on all devices. We have application for Android, iOS, Web App, PWA, Windows, mac

Dec 27, 2022
Owner
cedvdb
cedvdb
Flutter Currency Format Converter Library

Save your time on a little logic converting a currency from integer to string or string to integer. if you intrested to contribute to our little proje

Fathan Akram 1 Dec 7, 2021
A Basic Currency Converter made for both iOS and Android using the flutter.io platform

FlutterCurrencyConverter A Basic Currency Converter made for both iOS and Android using the flutter.io platform This app uses the ExchangeRate-API for

Carlo Gabriel Villalon Tapales 40 Nov 23, 2022
Color-Converter - A minimalist application made with flutter to convert hexadecimal colors to RGB colors and vise-versa.

Color Converter A minimalist application made with flutter to convert hexadecimal colors to RGB colors and vise-versa for Flutter Create Competition.

Poojan Pandya 2 Sep 16, 2020
Cowin smart print - A GUI based CoWIN Certificate to Smart Card Converter

CoWIN Smart Print A GUI based CoWIN Certificate to Smart Card Converter. Feature

Shreyam Maity 2 Mar 9, 2022
A simple currency converter app made with Flutter

Currency Checking App A simple currency converter app made with Flutter <3. WEB DEMO Table of Contents: General Info How to install Technologies Used

Russ 3 Jul 30, 2022
A Simple but elegant Calculator app made with Flutter using Google's Material Design with Currency (Exchange Rate) and Unit Converter.

Calculator A Simple but elegant Calculator app made with Flutter using Google's Material Design with Currency (Exchange Rate) and Unit Converter. Down

Hemant Rajput 15 Dec 7, 2022
Functioning Doctor/Healthcare Catalog App created using Dart with Flutter. Stores and loads data from Firebase Firestore DB.

flutter_medical Functioning Doctor/Healthcare Catalog & Scheduling App created using Dart with Flutter. Stores and loads data from noSQL Firebase. Ins

John Uberbacher 209 Dec 19, 2022
The prime objective of this app is to store the real time information of the user using firebase cloud firestore and also can delete, remove and update the customer information

crud_firestore A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Muhammad Zakariya 0 Mar 15, 2022
Full Feature Todos Flutter Mobile app with fireStore integration.

IONICFIREBASEAPP DOWNLOAD TODO APP Marketplace for Mobile app and Backend that developed on leading Enterprise Technologies with as well as with your

Ionicfirebaseapp 138 Nov 4, 2022
A flutter package to simplify pagination with firestore data ๐Ÿ—ƒ

Pagination in Firestore Setup Use the same setup used for cloud_firestore package (or follow this). Usage In your pubspec.yaml dependencies: paginat

Venkatesh Prasad 101 Dec 23, 2022