NamedType class

An unqualified Named Type Reference.

GraphQL describes the types of data expected by query variables. Input types may be lists of another input type, or a non‐null variant of any other input type.

Inheritance
Annotations

Constructors

NamedType(NamedTypeNode astNode, [ResolveType getType])
const

Properties

astNode NamedTypeNode
final
baseTypeName String
Extracts the innermost NamedType's name
read-only, override
getType ResolveType
Resolve the given name into a TypeDefinition, usually defined within the given context such as a GraphQLSchema.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
hasResolver bool
Whether it is safe to resolve the referenced type via type
read-only
isNonNull bool
read-only, inherited
name String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type TypeDefinition
Resolve the referenced type with getType. [...]
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object o) bool
The equality operator. [...]
inherited

Static Methods

nameFromNode(NamedTypeNode astNode) String