DirectiveContext class
A GraphQL directive, which may or may not have runtime semantics.
Constructors
- DirectiveContext(Token? arrobaToken, Token? nameToken, Token? colonToken, Token? lParenToken, Token? rParenToken, ArgumentContext? argument, InputValueContext? value)
Properties
- argument → ArgumentContext?
-
The argument being passed as the directive.
final
- arrobaToken → Token?
-
The source tokens.
final
- colonToken → Token?
-
The source tokens.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lParenToken → Token?
-
The source tokens.
final
- nameToken → Token?
-
The source tokens.
final
- rParenToken → Token?
-
The source tokens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span → FileSpan
-
no setteroverride
- value → InputValueContext?
-
The (optional) value being passed with the directive.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited