annotations library

What generated code and baaba_api_generator need, and nothing else.

Also exported from package:baaba_api_handler/baaba_api_handler.dart, so an app imports that as usual. This library exists for the generator: it is pure Dart, so a builder can import it without pulling in Flutter.

Classes

BaabaApiEndpoint
Generates typed endpoints from a .env file of KEY=path lines.
BaabaApiEnvironment
Generates typed configuration values from a .env file.
BaabaApiField
Names the .env key a field reads, instead of its UPPER_SNAKE name.

Extension Types

ApiEndpoint
An endpoint path, optionally with {} placeholders filled in order.