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

@Envied(name: 'Foo')
abstract class Env {}

will look like

abstract class _Foo {}

Implementation

final String? name;