endpointBuilder function
Builder
endpointBuilder(
- BuilderOptions options
Factory function that creates and returns an EndpointBuilder instance.
This function is the entry point for the endpoint code generation system.
It creates a LibraryBuilder that uses the EndpointGen generator to process
endpoint classes that extend Endpoints
.
Implementation
Builder endpointBuilder(BuilderOptions options) =>
LibraryBuilder(EndpointGen(), generatedExtension: '.endpoints.g.dart');