DirectiveDefinitionNode constructor

const DirectiveDefinitionNode({
  1. StringValueNode? description,
  2. required NameNode name,
  3. List<InputValueDefinitionNode> args = const [],
  4. List<DirectiveLocation> locations = const [],
  5. bool repeatable = false,
  6. FileSpan? span,
})

Implementation

const DirectiveDefinitionNode({
  this.description,
  required this.name,
  this.args = const [],
  this.locations = const [],
  this.repeatable = false,
  FileSpan? span,
}) : super(span);