dorm_annotations 2.0.0-dev.5 copy "dorm_annotations: ^2.0.0-dev.5" to clipboard
dorm_annotations: ^2.0.0-dev.5 copied to clipboard

Exposes annotations used to generate code for dORM framework.

example/README.md

dorm_annotations example #

This directory contains annotated model declarations used to demonstrate dorm_annotations together with dorm_generator.

The source files are:

  • lib/school.dart: simple models and fields;
  • lib/social_network.dart: relationships and generated accessors;
  • lib/drawing.dart: embedded and polymorphic values.

Install dependencies and regenerate the derived files from this directory:

dart pub get
dart run build_runner build

The *.dorm.dart and *.g.dart files are generated outputs. Edit the source files and run the generator again after changing annotations or model fields.

0
likes
160
points
234
downloads

Documentation

API reference

Publisher

verified publisherenzosantos.dev

Weekly Downloads

Exposes annotations used to generate code for dORM framework.

Homepage
Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

copy_with_extension, json_annotation, meta

More

Packages that depend on dorm_annotations