RankingInfo constructor
const
RankingInfo({
- required int filters,
- required int firstMatchedWord,
- required int geoDistance,
- int? geoPrecision,
- MatchedGeoLocation? matchedGeoLocation,
- Personalization? personalization,
- required int nbExactWords,
- required int nbTypos,
- required bool promoted,
- int? proximityDistance,
- required int userScore,
- required int words,
- 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,
});