PgnEvaluation.pawns constructor

const PgnEvaluation.pawns({
  1. required double? pawns,
  2. int? depth,
  3. int? mate,
  4. EvalType evalType = EvalType.pawns,
})

Constructor to create a PgnEvaluation of type pawns.

Implementation

const PgnEvaluation.pawns(
    {required this.pawns,
    this.depth,
    this.mate,
    this.evalType = EvalType.pawns});