PgnEvaluation class
Pgn representation of a move evaluation.
A PgnEvaluation can be created used .pawns
or .mate
contructor.
- Annotations
-
- @immutable
Constructors
- PgnEvaluation.mate({required int? mate, int? depth, double? pawns, EvalType evalType = EvalType.mate})
-
Constructor to create a PgnEvaluation of type mate.
const
- PgnEvaluation.pawns({required double? pawns, int? depth, int? mate, EvalType evalType = EvalType.pawns})
-
Constructor to create a PgnEvaluation of type pawns.
const
Properties
Methods
-
isPawns(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPgn(
) → String - Create a PGN evaluation string
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override