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
hashCode int
The hash code for this object. [...]
read-only, inherited
isDeprecated bool
If field is deprecated.
final
name String
Field name.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type GraphQLType
Field type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Convert this GraphQL field instance to JSON.
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited