EnumField constructor
EnumField({})
Implementation
EnumField({
required super.name,
required this.values,
String? id,
super.showInList,
super.isRequired,
super.sort,
super.validator,
super.type = FieldType.enumField,
}) : super(id: id ?? toSnakeCase(name));