firestore_serialized 0.1.3 copy "firestore_serialized: ^0.1.3" to clipboard
firestore_serialized: ^0.1.3 copied to clipboard

Thin layer on top of Firestore to serialize/deserialize document's data.

firestore_serialized #

Thin layer on top of Firestore to serialize/deserialize document's data.

Quickstart #

TypedFirestore.instance.register<User>(User.fromJson, User.toJson);

Then use the Typed... alternatives from original firestore types.

final user = TypedFirestore.instance.collection<User>("users").document("john");
final snapshot = await user.get();
print(snapshot.value.lastname);

Roadmap #

  • Transactions
  • Batches
0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Thin layer on top of Firestore to serialize/deserialize document's data.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

cloud_firestore, flutter, meta

More

Packages that depend on firestore_serialized