InputValueDefinition class
Field and directive arguments accept input values of various literal primitives.
Input values can be scalars, enumeration values, lists, or input objects.
- Inheritance
- Object
- GraphQLEntity
- EntityWithResolver
- InputValueDefinition
- Annotations
- @immutable
Constructors
- InputValueDefinition(InputValueDefinitionNode astNode, [ResolveType getType])
-
const
Properties
- astNode → InputValueDefinitionNode
-
final
- defaultValue → Value
-
read-only
- description → String
-
read-only
-
directives
→ List<
Directive> -
read-only
- 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. [...]
read-only, inherited
- name → String
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type → GraphQLType
-
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object o) → bool -
The equality operator. [...]
inherited