PgnEvaluation.mate constructor

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

Constructor to create a PgnEvaluation of type mate.

Implementation

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