drift_table_to_model 1.0.2 copy "drift_table_to_model: ^1.0.2" to clipboard
drift_table_to_model: ^1.0.2 copied to clipboard

Dart builder to generate model classes from drift table classes

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add drift_table_to_model

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  drift_table_to_model: ^1.0.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:drift_table_to_model/drift_table_to_model.dart';
1
likes
40
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

Dart builder to generate model classes from drift table classes

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

analyzer, build, glob, path, source_gen

More

Packages that depend on drift_table_to_model