firestore_serialized 0.1.3 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