GraphQLInputObjectField<Value, Serialized> class

A field expected within a GraphQLInputObjectType.

Constructors

GraphQLInputObjectField(String name, GraphQLType<Value, Serialized> type, {String? description, Value? defaultValue})

Properties

defaultValue → Value?
An optional default value for this field in an input object.
final
description String?
A description of this field, which is useful for tools like GraphiQL.
final
hashCode int
The hash code for this object.
no setteroverride
name String
The name of this field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GraphQLType<Value, Serialized>
The type that a value for this field is validated against.
final

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 other) bool
The equality operator.
override