GraphQLField class

Represents a GraphQL field.

Annotations

Constructors

GraphQLField({String name, String description, List<GraphQLInputValue> args, GraphQLType type, bool isDeprecated, String deprecatedReason})
Instantiates a GraphQL field.
GraphQLField.fromJson(Map<String, dynamic> json)
Build a GraphQL field from a JSON map.
factory

Properties

args → List<GraphQLInputValue>
Field arguments.
final
deprecatedReason → String
Why this field is deprecated.
final
description → String
Field description.
final
isDeprecated → bool
If field is deprecated.
final
name → String
Field name.
final
type GraphQLType
Field type.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
Convert this GraphQL field instance to JSON.
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 ==(dynamic other) → bool
The equality operator.
inherited