Enum constructor

Enum(
  1. String className,
  2. String name,
  3. List<String> values,
  4. bool isNullable,
)

Implementation

Enum(
  this.className,
  this.name,
  this.values,
  this.isNullable,
) {
  valueType = _detectType(values.first);
}