EnumDeclarationNode constructor

const EnumDeclarationNode({
  1. required String name,
  2. List<TypeParameterNode> typeParameters = const [],
  3. List<TypeNode> mixins = const [],
  4. List<TypeNode> interfaces = const [],
  5. List<EnumConstantNode> constants = const [],
  6. List<DeclarationNode> members = const [],
})

Implementation

const new({
  required this.name,
  this.typeParameters = const [],
  this.mixins = const [],
  this.interfaces = const [],
  this.constants = const [],
  this.members = const [],
});