RankingInfo constructor

const RankingInfo({
  1. required int filters,
  2. required int firstMatchedWord,
  3. required int geoDistance,
  4. int? geoPrecision,
  5. MatchedGeoLocation? matchedGeoLocation,
  6. Personalization? personalization,
  7. required int nbExactWords,
  8. required int nbTypos,
  9. required bool promoted,
  10. int? proximityDistance,
  11. required int userScore,
  12. required int words,
  13. bool? promotedByReRanking,
})

Returns a new RankingInfo instance.

Implementation

const RankingInfo({
  required this.filters,
  required this.firstMatchedWord,
  required this.geoDistance,
  this.geoPrecision,
  this.matchedGeoLocation,
  this.personalization,
  required this.nbExactWords,
  required this.nbTypos,
  required this.promoted,
  this.proximityDistance,
  required this.userScore,
  required this.words,
  this.promotedByReRanking,
});