GraphQLListType<Value, Serialized> class abstract

A special GraphQLType that indicates that input vales should be a list of another type ofType.

Implemented types
Available Extensions

Constructors

GraphQLListType()

Properties

description String?
A description of this type, which, while optional, can be very useful in tools like GraphiQL.
no setterinherited
generic GenericHelp<List<Value>>
Utility for working with the Value Generic type
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isNonNullable bool
true when the type can not be null
no setterinherited
isNullable bool
true when the type can be null
no setterinherited
name String?
The name of this type.
no setterinherited
ofType GraphQLType<Value, Serialized>
The wrapped type
no setteroverride
printableName String
The name of this type with defaults for GraphQLWrapperType. Can be used as a name of another GraphQL type, useful for composing names for generic types, for example.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

coerceToInputObject() GraphQLType<List<Value>, List<Serialized?>>
Turns this type into one suitable for being provided as an input to a GraphQLObjectField.
inherited
deserialize(SerdeCtx serdeCtx, List<Serialized?> serialized) List<Value>
Deserializes a serialized value.
inherited
list() GraphQLListType<List<Value>?, List<Serialized?>>
Returns a GraphQLListType with the inner type set to this
inherited
nonNull() GraphQLNonNullType<List<Value>, List<Serialized?>>
Creates a non-nullable type that represents this type, and enforces that a field of this type is present in input data.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nullable() GraphQLType<List<Value>, List<Serialized?>>
Returns a nullable type that represents this type. If the type is isNullable returns itself without changes.
inherited
serialize(List<Value> value) List<Serialized?>
Serializes a value.
inherited
serializeSafe(Object? value, {bool nested = true}) List<Serialized?>
inherited
toString() String
A string representation of this object.
inherited
validate(String key, Object? input) ValidationResult<List<Serialized?>>
Performs type coercion against an input value, and returns a list of errors if the validation was unsuccessful.
inherited
when<O>({required O enum_(GraphQLEnumType<List<Value>>), required O scalar(GraphQLScalarType<List<Value>, List<Serialized?>>), required O object(GraphQLObjectType<List<Value>>), required O input(GraphQLInputObjectType<List<Value>>), required O union(GraphQLUnionType<List<Value>>), required O list(GraphQLListType), required O nonNullable(GraphQLNonNullType<List<Value>, List<Serialized?>>)}) → O
Executes any of the provided function with this as argument. The function executed depends on the type of this
inherited
whenMaybe<O>({O enum_(GraphQLEnumType<List<Value>>)?, O scalar(GraphQLScalarType<List<Value>, List<Serialized?>>)?, O object(GraphQLObjectType<List<Value>>)?, O input(GraphQLInputObjectType<List<Value>>)?, O union(GraphQLUnionType<List<Value>>)?, O list(GraphQLListType)?, O nonNullable(GraphQLNonNullType<List<Value>, List<Serialized?>>)?, required O orElse(GraphQLType)}) → O
Similar to when, but with optional arguments and a required default case orElse, which is executed when none of the provided functions match this
inherited
whenOrNull<O>({O? enum_(GraphQLEnumType<List<Value>>)?, O? scalar(GraphQLScalarType<List<Value>, List<Serialized?>>)?, O? object(GraphQLObjectType<List<Value>>)?, O? input(GraphQLInputObjectType<List<Value>>)?, O? union(GraphQLUnionType<List<Value>>)?, O? list(GraphQLListType)?, O? nonNullable(GraphQLNonNullType<List<Value>, List<Serialized?>>)?}) → O?
Similar to when, but with optional arguments. Returns null when none of the provided functions match this
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited