GraphQLType class abstract

A Type Reference to a concrete TypeDefinition.

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
Implementers
Annotations
  • @immutable

Constructors

GraphQLType()
const

Properties

astNode TypeNode
no setteroverride
baseTypeName String
Extracts the innermost NamedType's name
no setter
getType ResolveType
Resolve the given name into a TypeDefinition, usually defined within the given context such as a GraphQLSchema.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isNonNull bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

fromNode(TypeNode astNode, [ResolveType? getType]) GraphQLType