HeroWithFragments top-level constant
OperationDefinitionNode
const HeroWithFragments
Implementation
const HeroWithFragments = _i1.OperationDefinitionNode(
type: _i1.OperationType.query,
name: _i1.NameNode(value: 'HeroWithFragments'),
variableDefinitions: [
_i1.VariableDefinitionNode(
variable: _i1.VariableNode(name: _i1.NameNode(value: 'episode')),
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Episode'), isNonNull: false),
defaultValue: _i1.DefaultValueNode(value: null),
directives: [])
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FieldNode(
name: _i1.NameNode(value: 'hero'),
alias: null,
arguments: [
_i1.ArgumentNode(
name: _i1.NameNode(value: 'episode'),
value: _i1.VariableNode(name: _i1.NameNode(value: 'episode')))
],
directives: [],
selectionSet: _i1.SelectionSetNode(selections: [
_i1.FragmentSpreadNode(
name: _i1.NameNode(value: 'comparisonFields'), directives: [])
]))
]));