UnionTypeDefinitionNode class

Inheritance

Constructors

UnionTypeDefinitionNode({List<NamedTypeNode> types = const [], StringValueNode? description, required NameNode name, List<DirectiveNode> directives = const [], FileSpan? span})
const

Properties

description → StringValueNode?
finalinherited
directives → List<DirectiveNode>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
name → NameNode
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
span → FileSpan?
FileSpan representing the location of the node in the SourceFile
finalinherited
types → List<NamedTypeNode>
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