InlineFragment class
Inline Fragments are FragmentDefinitions defined inline within a SelectionSet.
This is done to conditionally include fields based on their runtime type via TypeConditions.
- Inheritance
-
- Object
- GraphQLEntity
- ExecutableGraphQLEntity
- ExecutableWithResolver
- Selection
- InlineFragment
- Annotations
-
- @immutable
Constructors
- InlineFragment(InlineFragmentNode astNode, [TypeDefinition? schemaType, GetExecutableType? getType])
-
const
Properties
- alias → String
-
no setteroverride
- astNode → InlineFragmentNode
-
final
-
directives
→ List<
Directive> -
no setter
- getType → GetExecutableType
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- onType → TypeDefinitionWithFieldSet?
-
no setter
- onTypeName → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaType → TypeDefinition?
-
final
- selectionSet → SelectionSet
-
no setter
- typeCondition → TypeCondition
-
no setter
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 o) → bool -
The equality operator.
inherited