GraphQLEnumVariant class

Signifies that a static field should statically generate a GraphQLEnumValue in a GraphQLEnumType.

Annotations
  • @Target({TargetKind.field})

Constructors

GraphQLEnumVariant({String? name})
Signifies that a static field should statically generate a GraphQLEnumValue in a GraphQLEnumType.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
Overrides the name of the variant, by default it will be the name of the field subject to EnumNameCase.
final
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