Argument class

Arguments to Fields which accept them. FieldDefinitions are conceptually functions which return values, and occasionally accept arguments which alter their behavior.

These arguments often map directly to function arguments within a GraphQL server’s implementation.

Inheritance
Annotations
  • @immutable

Constructors

Argument(ArgumentNode astNode)
const

Properties

astNode ArgumentNode
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
value Value
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