InputObjectTypeDefinition class
An Input Object Type Definition
A GraphQL Input Object defines a set of input fields; the input fields are either scalars, enums, or other input objects. This allows arguments to accept arbitrarily complex structs.
See TypeDefinition for details on all GraphQL Type Definitions.
- Inheritance
-
- Object
- GraphQLEntity
- TypeSystemDefinition
- TypeDefinition
- TypeDefinitionWithResolver
- InputObjectTypeDefinition
- Annotations
-
- @immutable
Constructors
- InputObjectTypeDefinition(InputObjectTypeDefinitionNode astNode, [ResolveType? getType])
-
const
Properties
- astNode → InputObjectTypeDefinitionNode
-
The underlying definition node from
gql/ast.dart
final - description → String?
-
no setterinherited
-
directives
→ List<
Directive> -
no setterinherited
-
fields
→ List<
InputValueDefinition> -
no setter
- getType → ResolveType
-
Resolve the given
name
into a TypeDefinition, usually defined within the given context such as aGraphQLSchema
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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