db_dsl_lints 0.1.1
db_dsl_lints: ^0.1.1 copied to clipboard
Analyzer plugin for db_dsl: checks every table field against the app's model while you type, and writes the typed fields of a table from its model.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add db_dsl_lintsWith Flutter:
$ flutter pub add db_dsl_lintsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
db_dsl_lints: ^0.1.1Alternatively, 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:db_dsl_lints/main.dart';