ScoreMatch.empty constructor

ScoreMatch.empty()

Factory method that creates a new ScoreMatch instance with default values:

This can be used to create an "empty" or uninitialized ScoreMatch object.

Implementation

factory ScoreMatch.empty() {
  return ScoreMatch(
    character: '',
    matrixIndex: -1,
    score: 0.0,
  );
}