InsanichessChallenge constructor
const
InsanichessChallenge({
- required InsanichessPlayer? createdBy,
- required InsanichessTimeControl timeControl,
- required PieceColor? preferColor,
- required bool isPrivate,
- required ChallengeStatus status,
Creates new InsanichessChallenge
object with timeControl, challenger's
preferColor selection, and whether this game isPrivate or not.
Implementation
const InsanichessChallenge({
required this.createdBy,
required this.timeControl,
required this.preferColor,
required this.isPrivate,
required this.status,
});