enumField property

String? enumField
final

The name of the field to use for enum classes.

Defaults to name. You can also index to use the enum ordinal or a custom field.

Implementation

final String? enumField;