charcoal_builder library
The build_runner generator for classes annotated with @Charcoal().
Add it as a dev dependency next to build_runner, then generate with
dart run build_runner build. It applies to dependents automatically.
A project can set a default for the annotation's options in build.yaml:
targets:
$default:
builders:
charcoal_builder:charcoal:
options:
omit: none
Functions
-
charcoalBuilder(
BuilderOptions options) → Builder -
Creates the builder, which
build_runnercalls usingbuild.yaml.