GraphQLEnum class

Signifies that a class should statically generate a GraphQLEnumType.

Implemented types
Annotations
  • @Target({TargetKind.classType, TargetKind.enumType})

Constructors

GraphQLEnum({EnumNameCase? valuesCase, String? name})
Signifies that a class should statically generate a GraphQLEnumType.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the generated GraphQLEnumType. By default it will be the class or enum name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valuesCase EnumNameCase?
The String case for each enum variant name
final

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