EnumValueDefinition constructor

EnumValueDefinition({
  1. required EnumValueName name,
  2. List<String> annotations = const [],
})

Instantiate an enum value

Implementation

EnumValueDefinition({
  required this.name,
  this.annotations = const [],
}) : super(name: name);