DatamodelEnum constructor

const DatamodelEnum({
  1. required String name,
  2. required List<EnumValue> values,
  3. String? dbName,
  4. String? documentation,
})

Create a new datamodel enum.

Implementation

const DatamodelEnum({
  required this.name,
  required this.values,
  this.dbName,
  this.documentation,
});