EnumType constructor

const EnumType({
  1. required String className,
  2. required List<String> values,
  3. required List<String> valuesJSON,
  4. bool nullable = false,
})

Construct a new CustomType.

Implementation

const EnumType({
  required String className,
  required this.values,
  required this.valuesJSON,
  this.nullable = false,
}) : super(className: className);