FragmentSpread class

FragmentDefinitions are consumed by using the spread operator (...).

All fields selected by the fragment will be added to the query field selection at the same level as the fragment invocation.

This happens through multiple levels of fragment spreads.

Inheritance
Annotations
  • @immutable

Constructors

FragmentSpread(FragmentSpreadNode astNode, [TypeDefinition? schemaType, GetExecutableType? getType])
const

Properties

alias String
no setteroverride
astNode FragmentSpreadNode
final
directives List<Directive>
no setter
fragment FragmentDefinition
no setter
getType GetExecutableType
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaType TypeDefinition?
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 o) bool
The equality operator.
inherited