EnumType<T extends Enum> constructor
EnumType<T extends Enum> (
- List<
T> values
Creates a new instance of the EnumType
class with the specified values
.
Implementation
EnumType(this.values);