enumValues property
The allowed values for this String, corresponds to the enum
key.
Implementation
Iterable<String>? get enumValues {
final values = (_value['enum'] as Iterable?)?.cast<String>();
assert(
values?.toSet().length == values?.length,
"The 'enum' property has duplicate entries.",
);
return values;
}