EnumType<T extends Enum> constructor

EnumType<T extends Enum>(
  1. List<T> values
)

Creates a new instance of the EnumType class with the specified values.

Implementation

EnumType(this.values);