Human top-level constant
ObjectTypeDefinitionNode
const Human
Implementation
const Human = _i1.ObjectTypeDefinitionNode(
name: _i1.NameNode(value: 'Human'),
directives: [],
interfaces: [
_i1.NamedTypeNode(
name: _i1.NameNode(value: 'Character'), isNonNull: false)
],
fields: [
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'id'),
directives: [],
args: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'ID'), isNonNull: true)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'name'),
directives: [],
args: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'String'), isNonNull: true)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'homePlanet'),
directives: [],
args: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'String'), isNonNull: false)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'height'),
directives: [],
args: [
_i1.InputValueDefinitionNode(
name: _i1.NameNode(value: 'unit'),
directives: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'LengthUnit'), isNonNull: false),
defaultValue:
_i1.EnumValueNode(name: _i1.NameNode(value: 'METER')))
],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Float'), isNonNull: false)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'mass'),
directives: [],
args: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Float'), isNonNull: false)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'friends'),
directives: [],
args: [],
type: _i1.ListTypeNode(
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Character'), isNonNull: false),
isNonNull: false)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'friendsConnection'),
directives: [],
args: [
_i1.InputValueDefinitionNode(
name: _i1.NameNode(value: 'first'),
directives: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Int'), isNonNull: false),
defaultValue: null),
_i1.InputValueDefinitionNode(
name: _i1.NameNode(value: 'after'),
directives: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'ID'), isNonNull: false),
defaultValue: null)
],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'FriendsConnection'), isNonNull: true)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'appearsIn'),
directives: [],
args: [],
type: _i1.ListTypeNode(
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Episode'), isNonNull: false),
isNonNull: true)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'starships'),
directives: [],
args: [],
type: _i1.ListTypeNode(
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Starship'), isNonNull: false),
isNonNull: false)),
_i1.FieldDefinitionNode(
name: _i1.NameNode(value: 'birthday'),
directives: [],
args: [],
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Date'), isNonNull: true))
]);