MatchScore constructor

MatchScore({
  1. required double score,
  2. required bool isMatch,
  3. List<MatchIndex> matchedIndices = const [],
})

Instantiates a match with score and matched locations

Implementation

MatchScore({
  required this.score,
  required this.isMatch,
  this.matchedIndices = const [],
});