DirectiveNode constructor

const DirectiveNode({
  1. required NameNode name,
  2. List<ArgumentNode> arguments = const [],
  3. FileSpan? span,
})

Implementation

const DirectiveNode({
  required this.name,
  this.arguments = const [],
  FileSpan? span,
}) : super(span);