DirectiveDefinition class Null safety

Directives are used to annotate various parts of a GraphQL document as an indicator that they should be evaluated differently by a validator, executor, or client tool such as a code generator.

Inheritance
Annotations

Constructors

DirectiveDefinition(DirectiveDefinitionNode? astNode)
const

Properties

args List<InputValueDefinition>?
read-only
astNode DirectiveDefinitionNode?
The underlying definition node from gql/ast.dart
final
description String?
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
locations List<DirectiveLocation>?
read-only
name String?
read-only, override
repeatable bool
read-only
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
toString() String
A string representation of this object. [...]
inherited

Operators

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