DirectiveDefinitionNode constructor
const
DirectiveDefinitionNode({
- StringValueNode? description,
- required NameNode name,
- List<
InputValueDefinitionNode> args = const [], - List<
DirectiveLocation> locations = const [], - bool repeatable = false,
- FileSpan? span,
Implementation
const DirectiveDefinitionNode({
this.description,
required this.name,
this.args = const [],
this.locations = const [],
this.repeatable = false,
FileSpan? span,
}) : super(span);