Arg class

A typed GraphQL argument. The graphqlType is the GraphQL type literal (e.g. Int, String!, LaunchFind), used to declare the variable in the operation document. Values are always sent as JSON variables, so enums and input objects need no special serialization on the client side.

Constructors

Arg(String graphqlType, Object? value)
An argument of GraphQL type graphqlType with JSON value.
const

Properties

graphqlType → String
The GraphQL type literal the variable is declared with (ID!).
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object?
The JSON value sent as the variable; null arguments are left out of the document (and of the alias).
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.
inherited