baaba_api_generator library

The generators behind baaba_api_generator.

Apps do not import this: adding the package as a dev dependency is enough, and build_runner finds the builder through build.yaml. It is here for composing the generators into a builder of your own.

Classes

EndpointsGenerator
@BaabaApiEndpoint: typed endpoint templates.
EnvironmentGenerator
@BaabaApiEnvironment: typed configuration values.

Functions

baabaApiBuilder(BuilderOptions options) → Builder
Writes *.g.dart parts for @BaabaApiEndpoint and @BaabaApiEnvironment.