EnumTypeDefinitionNode constructor

const EnumTypeDefinitionNode({
  1. List<EnumValueDefinitionNode> values = const [],
  2. StringValueNode? description,
  3. required NameNode name,
  4. List<DirectiveNode> directives = const [],
  5. FileSpan? span,
})

Implementation

const EnumTypeDefinitionNode({
  this.values = const [],
  StringValueNode? description,
  required NameNode name,
  List<DirectiveNode> directives = const [],
  FileSpan? span,
}) : super(
        span: span,
        name: name,
        description: description,
        directives: directives,
      );