GraphQLType class
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
- Object
- GraphQLEntity
- EntityWithResolver
- GraphQLType
- Implementers
- Annotations
- @immutable
Constructors
- GraphQLType()
-
const
Properties
- astNode → TypeNode
-
read-only, override
- baseTypeName → String
-
Extracts the innermost NamedType's name
read-only
- getType → ResolveType
-
Resolve the given
name
into a TypeDefinition, usually defined within the given context such as aGraphQLSchema
.final, inherited - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isNonNull → bool
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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
-
fromNode(
TypeNode astNode, [ResolveType getType]) → GraphQLType