OperationDefinitionNode constructor
const
OperationDefinitionNode({
- required OperationType type,
- NameNode? name,
- List<
VariableDefinitionNode> variableDefinitions = const [], - List<
DirectiveNode> directives = const [], - required SelectionSetNode selectionSet,
- FileSpan? span,
Implementation
const OperationDefinitionNode({
required this.type,
this.name,
this.variableDefinitions = const [],
this.directives = const [],
required this.selectionSet,
FileSpan? span,
}) : super(span);