FragmentDefinitionContext class
A GraphQL query fragment definition.
- Inheritance
-
- Object
- Node
- DefinitionContext
- ExecutableDefinitionContext
- FragmentDefinitionContext
Constructors
- FragmentDefinitionContext(Token? fragmentToken, Token? nameToken, Token? onToken, TypeConditionContext typeCondition, SelectionSetContext selectionSet)
Properties
-
directives
→ List<
DirectiveContext> -
Any directives on the fragment.
final
- FRAGMENT → Token?
-
Use fragmentToken instead.
no setter
- fragmentToken → Token?
-
The source tokens.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- NAME → Token?
-
Use nameToken instead.
no setter
- name → String?
-
The String value of the nameToken.
no setter
- nameToken → Token?
-
The source tokens.
final
- ON → Token?
-
Use onToken instead.
no setter
- onToken → Token?
-
The source tokens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionSet → SelectionSetContext
-
The selections to apply when the typeCondition is met.
final
- span → FileSpan?
-
no setteroverride
- typeCondition → TypeConditionContext
-
The type to which this fragment applies.
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