CastlingOptions constructor

const CastlingOptions({
  1. required bool enabled,
  2. int? kTarget,
  3. int? qTarget,
  4. bool fixedRooks = true,
  5. int? kRook,
  6. int? qRook,
  7. String? rookPiece,
  8. bool useRookAsTarget = false,
})

Implementation

const CastlingOptions({
  required this.enabled,
  this.kTarget,
  this.qTarget,
  this.fixedRooks = true,
  this.kRook,
  this.qRook,
  this.rookPiece,
  this.useRookAsTarget = false,
});