DirectiveDefinitionNode class
- Inheritance
-
- Object
- Node
- DefinitionNode
- TypeSystemDefinitionNode
- DirectiveDefinitionNode
Constructors
-
DirectiveDefinitionNode({StringValueNode? description, required NameNode name, List<
InputValueDefinitionNode> args = const [], List<DirectiveLocation> locations = const [], bool repeatable = false, FileSpan? span}) -
const
Properties
-
args
→ List<
InputValueDefinitionNode> -
final
- description → StringValueNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locations
→ List<
DirectiveLocation> -
final
- name → NameNode
-
final
- repeatable → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan?
-
FileSpan
representing the location of the node in theSourceFile
finalinherited
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