Directive class

Directives provide a way to describe alternate runtime execution and type validation behavior in a GraphQL document.

Inheritance
Annotations
  • @immutable

Constructors

Directive(DirectiveNode astNode)
const

Properties

arguments List<Argument>
no setter
astNode DirectiveNode
final
hashCode int
The hash code for this object.
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 o) bool
The equality operator.
inherited