OperationDefinitionNode class
- Inheritance
-
- Object
- Node
- DefinitionNode
- ExecutableDefinitionNode
- OperationDefinitionNode
Constructors
-
OperationDefinitionNode({required OperationType type, NameNode? name, List<
VariableDefinitionNode> variableDefinitions = const [], List<DirectiveNode> directives = const [], required SelectionSetNode selectionSet, FileSpan? span}) -
const
Properties
-
directives
→ List<
DirectiveNode> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → NameNode?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionSet → SelectionSetNode
-
final
- span → FileSpan?
-
FileSpan
representing the location of the node in theSourceFile
finalinherited - type → OperationType
-
final
-
variableDefinitions
→ List<
VariableDefinitionNode> -
final
Methods
-
accept<
R> (Visitor< R> v) → R -
Accepts a Visitor
v
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitChildren<
R> (Visitor< R> v) → void -
Lets Visitor
v
visit children nodes of this node.inherited
Operators
-
operator ==(
Object o) → bool -
The equality operator.
inherited