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
.envfile ofKEY=pathlines. - BaabaApiEnvironment
-
Generates typed configuration values from a
.envfile. - BaabaApiField
-
Names the
.envkey a field reads, instead of its UPPER_SNAKE name.
Extension Types
- ApiEndpoint
-
An endpoint path, optionally with
{}placeholders filled in order.