MatchResult constructor

const MatchResult({
  1. required double score,
  2. required MatchType matchType,
  3. List<int> matchPositions = const [],
  4. List<EvidenceEntry> evidence = const [],
})

Implementation

const MatchResult({
  required this.score,
  required this.matchType,
  this.matchPositions = const [],
  this.evidence = const [],
});