OutputOptions class
Allows output options (FEN, PGN) to be specified for variants. This will become more significant when we support variants with more complex FENs.
Constructors
- OutputOptions({CastlingFormat castlingFormat = CastlingFormat.standard, bool showPromoted = false, bool virginFiles = false})
-
const
-
OutputOptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- castlingFormat → CastlingFormat
-
Define the format to be used when outputting castling rights.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showPromoted → bool
-
If true, a tilde (~) will be placed after promoted piece symbols.
final
- virginFiles → bool
-
If true, the castling field in the FEN string will be combined with a list
of files where the starting pieces haven't moved from them.
For example, to be used with Seirawan gates.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- chess960 → const OutputOptions
- crazyhouse → const OutputOptions
- seirawan → const OutputOptions
- standard → const OutputOptions