RankingInfo constructor

const RankingInfo({
  1. 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. bool? promoted,
  10. int? proximityDistance,
  11. required int userScore,
  12. int? words,
  13. bool? promotedByReRanking,
})

Returns a new RankingInfo instance.

Implementation

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