firestore_serializable 0.0.19+2 copy "firestore_serializable: ^0.0.19+2" to clipboard
firestore_serializable: ^0.0.19+2 copied to clipboard

outdated

Generate fromMap(), fromSnapshot() and toMap() methods for your Firestore data models using this library. Based on source_gen, similar to json_serializable

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add firestore_serializable

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  firestore_serializable: ^0.0.19+2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:firestore_serializable/firestore_serializable.dart';
4
likes
20
points
48
downloads

Publisher

verified publisherscalabs.de

Weekly Downloads

Generate fromMap(), fromSnapshot() and toMap() methods for your Firestore data models using this library. Based on source_gen, similar to json_serializable

License

BSD-2-Clause (license)

Dependencies

analyzer, build, firestore_annotations, source_gen

More

Packages that depend on firestore_serializable