ListType class

A List Type wrapping another GraphQLType.

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

Constructors

ListType(ListTypeNode astNode, [ResolveType? getType])
const

Properties

astNode ListTypeNode
final
baseTypeName String
Extracts the innermost NamedType's name
no setteroverride
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.
no setterinherited
isNonNull bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GraphQLType
The contained GraphQLType
no setter

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