GraphQLTypeKind enum

Defines kinds of GraphQL types.

Constants

ENUM → const GraphQLTypeKind

Enum is a special kind of scalar that is restricted to a particular set of allowed values.

const GraphQLTypeKind(4)
INPUT_OBJECT → const GraphQLTypeKind

Complex objects to be sent to server.

const GraphQLTypeKind(5)
INTERFACE → const GraphQLTypeKind

An Interface is an abstract type that includes a certain set of fields that a type must include to implement the interface.

const GraphQLTypeKind(2)
LIST → const GraphQLTypeKind

List type modifier.

const GraphQLTypeKind(6)
NON_NULL → const GraphQLTypeKind

Non-null type modifier.

const GraphQLTypeKind(7)
OBJECT → const GraphQLTypeKind

Objects are a collection of other objects to fetch data from server.

const GraphQLTypeKind(1)
SCALAR → const GraphQLTypeKind

Ths most basic (leaf) type on GraphQL.

const GraphQLTypeKind(0)
UNION → const GraphQLTypeKind

Union types are very similar to interfaces, but they don't get to specify any common fields between the types

const GraphQLTypeKind(3)
values → const List<GraphQLTypeKind>

A constant List of the values in this enum, in order of their declaration.

const List<GraphQLTypeKind>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

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
toString() String
Returns a string representation of this object.
override

Operators

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