GraphQLListType<Value, Serialized> class

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

Inheritance

Constructors

GraphQLListType(GraphQLType<Value, Serialized> ofType)

Properties

description String
A description of this type, which, while optional, can be very useful in tools like GraphiQL.
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
name String?
The name of this type.
no setteroverride
ofType GraphQLType<Value, Serialized>
final
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.
override
convert(dynamic value) List<Serialized>?
Attempts to cast a dynamic value into a Serialized instance.
override
deserialize(List serialized) List<Value>
Deserializes a serialized value.
override
list() GraphQLListType<List<Value>, List<Serialized>>
inherited
nonNullable() GraphQLType<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
serialize(List<Value> value) List<Serialized>
Serializes an arbitrary input value.
override
toString() String
A string representation of this object.
override
validate(String key, covariant List input) ValidationResult<List<Serialized>>
Performs type coercion against an input value, and returns a list of errors if the validation was unsuccessful.
override

Operators

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