firestore_odm_annotation 5.3.0 copy "firestore_odm_annotation: ^5.3.0" to clipboard
firestore_odm_annotation: ^5.3.0 copied to clipboard

Annotations for firestore_odm, the type-safe Firestore ODM for Flutter and Dart. Declare collections, subcollections and document ID fields.

firestore_odm_annotation #

Annotations for firestore_odm, the type-safe Firestore ODM for Flutter and Dart — the maintained successor to cloud_firestore_odm.

You normally do not depend on this package directly: firestore_odm exports it. It defines:

  • @firestoreOdm: generate converters and typed selectors for a model class.
  • @DocumentIdField(): the model field that holds the document ID.
  • @Schema() and @Collection<T>('path'): the collections of a schema, including subcollections such as users/*/posts.

See the firestore_odm README and the documentation.

1
likes
160
points
894
downloads

Documentation

Documentation
API reference

Publisher

verified publishersylphx.com

Weekly Downloads

Annotations for firestore_odm, the type-safe Firestore ODM for Flutter and Dart. Declare collections, subcollections and document ID fields.

Homepage
Repository (GitHub)
View/report issues

Topics

#firestore #odm #annotations #code-generation #flutter

License

MIT (license)

Dependencies

meta

More

Packages that depend on firestore_odm_annotation