basalt_codegen 0.0.2
basalt_codegen: ^0.0.2 copied to clipboard
build_runner code generator for the Basalt Dart ORM — derives row readers and INSERT/UPDATE builders from @Queryable, @Insertable, and @AsChangeset.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add basalt_codegenWith Flutter:
$ flutter pub add basalt_codegenThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
basalt_codegen: ^0.0.2Alternatively, 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:basalt_codegen/basalt_codegen.dart';