ScoreMatch.empty constructor
ScoreMatch.empty()
Factory method that creates a new ScoreMatch instance with default values:
- character is an empty string
- matrixIndex is -1
- score is 0.0
This can be used to create an "empty" or uninitialized ScoreMatch object.
Implementation
factory ScoreMatch.empty() {
return ScoreMatch(
character: '',
matrixIndex: -1,
score: 0.0,
);
}