LichessVariantKey enum

Inheritance
Annotations
  • @JsonEnum(valueField: 'raw')

Constructors

LichessVariantKey(String raw)
const

Values

standard → const LichessVariantKey
const LichessVariantKey('standard')
chess960 → const LichessVariantKey
const LichessVariantKey('chess960')
crazyhouse → const LichessVariantKey
const LichessVariantKey('crazyhouse')
antichess → const LichessVariantKey
const LichessVariantKey('antichess')
atomic → const LichessVariantKey
const LichessVariantKey('atomic')
horde → const LichessVariantKey
const LichessVariantKey('horde')
kingOfTheHill → const LichessVariantKey
const LichessVariantKey('kingOfTheHill')
racingKings → const LichessVariantKey
const LichessVariantKey('racingKings')
threeCheck → const LichessVariantKey
const LichessVariantKey('threeCheck')
fromPosition → const LichessVariantKey
const LichessVariantKey('fromPosition')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
raw String
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

Constants

values → const List<LichessVariantKey>
A constant List of the values in this enum, in order of their declaration.