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