LichessChallengeEventInfo class
- Annotations
-
- @freezed
Constructors
- LichessChallengeEventInfo({required String id, required String url, required LichessChallengeStatus status, required LichessChallengeUser challenger, required LichessChallengeUser destUser, required LichessVariant variant, required bool rated, required LichessSpeed speed, required LichessGameClock timeControl, required LichessChallengeColor color, required LichessGameChallengePerf perf, LichessChallengeDirection? direction, String? initialFen, String? declineReason})
-
constfactory
-
LichessChallengeEventInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- challenger → LichessChallengeUser
-
no setterinherited
- color → LichessChallengeColor
-
no setterinherited
-
copyWith
→ $LichessChallengeEventInfoCopyWith<
LichessChallengeEventInfo> -
no setterinherited
- declineReason → String?
-
no setterinherited
- destUser → LichessChallengeUser
-
no setterinherited
- direction → LichessChallengeDirection?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- initialFen → String?
-
no setterinherited
- perf → LichessGameChallengePerf
-
no setterinherited
- rated → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → LichessSpeed
-
no setterinherited
- status → LichessChallengeStatus
-
no setterinherited
- timeControl → LichessGameClock
-
no setterinherited
- url → String
-
no setterinherited
- variant → LichessVariant
-
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