alwaysCreate property Null safety

bool alwaysCreate
final

If true, _$[enum name]EnumMap is generated for in library containing the enum, even if the enum is not used as a field in a class annotated with JsonSerializable.

The default, false, means no extra helpers are generated for this enum unless it is used by a class annotated with JsonSerializable.

Implementation

final bool alwaysCreate;