DirectiveLocation enum

The position within the schema where a given directive can be

Inheritance

Constructors

DirectiveLocation()
const

Values

QUERY → const DirectiveLocation
MUTATION → const DirectiveLocation
SUBSCRIPTION → const DirectiveLocation
FIELD → const DirectiveLocation
FRAGMENT_DEFINITION → const DirectiveLocation
FRAGMENT_SPREAD → const DirectiveLocation
INLINE_FRAGMENT → const DirectiveLocation
VARIABLE_DEFINITION → const DirectiveLocation
SCHEMA → const DirectiveLocation
SCALAR → const DirectiveLocation
OBJECT → const DirectiveLocation
FIELD_DEFINITION → const DirectiveLocation
ARGUMENT_DEFINITION → const DirectiveLocation
INTERFACE → const DirectiveLocation
UNION → const DirectiveLocation
ENUM → const DirectiveLocation
ENUM_VALUE → const DirectiveLocation
INPUT_OBJECT → const DirectiveLocation
INPUT_FIELD_DEFINITION → const DirectiveLocation

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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 other) bool
The equality operator.
inherited

Constants

values → const List<DirectiveLocation>
A constant List of the values in this enum, in order of their declaration.