sequelize_orm_generator 0.2.0
sequelize_orm_generator: ^0.2.0 copied to clipboard
Code generator for sequelize_orm. Generates type-safe model classes, query builders, and a centralized model registry from annotated Dart classes using build_runner.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sequelize_orm_generatorWith Flutter:
$ flutter pub add sequelize_orm_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sequelize_orm_generator: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sequelize_orm_generator/sequelize_orm_generator.dart';