LichessGameFullEvent class

Implemented types
Annotations
  • @freezed

Constructors

LichessGameFullEvent({required LichessBoardGameEventType type, required String id, required LichessVariant variant, required LichessSpeed speed, required LichessGamePerf perf, required bool rated, required LichessGameEventPlayer white, required LichessGameEventPlayer black, required LichessGameStateEvent state, @JsonKey(name: 'createdAt') required int createdAtInMilliseconds, LichessGameClock? clock, @Default('startpos') String initialFen, String? tournamentId})
const
factory
LichessGameFullEvent.fromJson(Map<String, dynamic> json)
factory

Properties

black LichessGameEventPlayer
no setterinherited
clock LichessGameClock?
no setterinherited
copyWith → $LichessGameFullEventCopyWith<LichessGameFullEvent>
no setterinherited
createdAt DateTime
no setter
createdAtInMilliseconds int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
initialFen String
no setterinherited
perf LichessGamePerf
no setterinherited
rated bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed LichessSpeed
no setterinherited
state LichessGameStateEvent
no setterinherited
tournamentId String?
no setterinherited
type LichessBoardGameEventType
no setterinherited
variant LichessVariant
no setterinherited
white LichessGameEventPlayer
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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