name property

String? name
final

The value to use as name for the generated class, with an underscore _ prefixed.

If null or an empty String, the name of the annotated class is used.

For example, the generated code for

@Envify(name: 'secrets')
abstract class Env {}

will look like

abstract class _Secrets {}

Implementation

final String? name;