Enum constructor

Enum({
  1. required String name,
  2. required List<EnumMember> members,
  3. List<String> documentationComments = const <String>[],
})

Parametric constructor for Enum.

Implementation

Enum({
  required this.name,
  required this.members,
  this.documentationComments = const <String>[],
});