Enum constructor

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

Implementation

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