Starship top-level constant
ObjectTypeDefinitionNode
const Starship
Implementation
const Starship = _i1.ObjectTypeDefinitionNode(
name: _i1.NameNode(value: 'Starship'),
directives: [],
interfaces: [],
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: 'length'),
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: 'coordinates'),
directives: [],
args: [],
type: _i1.ListTypeNode(
type: _i1.ListTypeNode(
type: _i1.NamedTypeNode(
name: _i1.NameNode(value: 'Float'),
isNonNull: true,
),
isNonNull: true,
),
isNonNull: false,
),
),
],
);