doNotGenerate top-level constant
_DoNotGenerate
const doNotGenerate
Used to annotate endpoint classes and methods that should be ignored by the Serverpod code analyzer and generator.
If an endpoint (class or method) is annotated with this annotation:
- No client code to call the endpoint will ge generated.
- No server code to handle requests towards the endpoint will be generated.
Implementation
const doNotGenerate = _DoNotGenerate();