GraphQLEnumValue class

Represents a GraphQL enum.

Annotations

Constructors

GraphQLEnumValue({String name, String description, bool isDeprecated, String deprecatedReason})
Instantiates a GraphQL enum value.
GraphQLEnumValue.fromJson(Map<String, dynamic> json)
Build a GraphQL enum value from a JSON map.
factory

Properties

deprecatedReason → String
Why this enum is deprecated.
final
description → String
Enum description.
final
isDeprecated → bool
If this enum is deprecated.
final
name → String
Enum name.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
Convert this GraphQL enum value instance to JSON.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited