DirectiveLocation enum Null safety

Enumeration of all known directive locations.

Inheritance

Constructors

DirectiveLocation()
const

Values

query → const DirectiveLocation
const DirectiveLocation(0)
mutation → const DirectiveLocation
const DirectiveLocation(1)
subscription → const DirectiveLocation
const DirectiveLocation(2)
field → const DirectiveLocation
const DirectiveLocation(3)
fragmentDefinition → const DirectiveLocation
const DirectiveLocation(4)
fragmentSpread → const DirectiveLocation
const DirectiveLocation(5)
inlineFragment → const DirectiveLocation
const DirectiveLocation(6)
variableDefinition → const DirectiveLocation
const DirectiveLocation(7)
schema → const DirectiveLocation
const DirectiveLocation(8)
scalar → const DirectiveLocation
const DirectiveLocation(9)
object → const DirectiveLocation
const DirectiveLocation(10)
fieldDefinition → const DirectiveLocation
const DirectiveLocation(11)
argumentDefinition → const DirectiveLocation
const DirectiveLocation(12)
interface → const DirectiveLocation
const DirectiveLocation(13)
union → const DirectiveLocation
const DirectiveLocation(14)
enumDefinition → const DirectiveLocation
const DirectiveLocation(15)
enumValue → const DirectiveLocation
const DirectiveLocation(16)
inputObject → const DirectiveLocation
const DirectiveLocation(17)
inputFieldDefinition → const DirectiveLocation
const DirectiveLocation(18)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 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.
[query, mutation, subscription, field, fragmentDefinition, fragmentSpread, inlineFragment, variableDefinition, schema, scalar, object, fieldDefinition, argumentDefinition, interface, union, enumDefini…