GraphQLDirective class

Represents a GraphQL directive.

Annotations

Constructors

GraphQLDirective({String name, String description, List<GraphQLDirectiveLocation> locations, List<GraphQLInputValue> args})
Instantiates a GraphQL directive.
GraphQLDirective.fromJson(Map<String, dynamic> json)
Build a GraphQL directive from a JSON map.
factory

Properties

args List<GraphQLInputValue>
A list of arguments of this directive.
read / write
description String
The directive description.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
locations List<GraphQLDirectiveLocation>
A list of locations of this directive.
read / write
name String
The directive name.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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