LichessGameStateEvent class

Implemented types
Annotations
  • @freezed

Constructors

LichessGameStateEvent({required LichessBoardGameEventType type, required String moves, required int wtime, required int btime, required int winc, required int binc, required LichessGameStatus status, LichessColor? winner, bool? wdraw, bool? bdraw, bool? wtakeback, bool? btakeback})
const
factory
LichessGameStateEvent.fromJson(Map<String, dynamic> json)
factory

Properties

bdraw bool?
no setterinherited
binc int
no setterinherited
btakeback bool?
no setterinherited
btime int
no setterinherited
copyWith → $LichessGameStateEventCopyWith<LichessGameStateEvent>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
moves String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status LichessGameStatus
no setterinherited
type LichessBoardGameEventType
no setterinherited
wdraw bool?
no setterinherited
winc int
no setterinherited
winner LichessColor?
no setterinherited
wtakeback bool?
no setterinherited
wtime int
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