ScoreMatch constructor

ScoreMatch({
  1. String character = '',
  2. int matrixIndex = -1,
  3. double score = 0.0,
})

Constructs a ScoreMatch object with the provided character, matrixIndex, and score.

The character represents the matched character, the matrixIndex is the index of the matching template matrices, and the score is the final score in percentage (0..1).

Implementation

ScoreMatch({this.character = '', this.matrixIndex = -1, this.score = 0.0});