InsanichessConfig class Null safety
Holds configuration fields that both client and server need or share.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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
- expirePrivateChallengeAfter → const Duration
-
The duration in which a private challenge needs to be accepted before it
is cancelled by the server.
Duration(minutes: 2)
- expirePublicChallengeAfter → const Duration
-
The duration in which a public challenge needs to be matchmade before it
is cancelled by the server.
Duration(hours: 1)
- whiteForFirstMove → const Duration
-
Duration in which white has to perform a move before or else the game is
disbanded.
Duration(seconds: 30)