Hit constructor

const Hit({
  1. required String objectID,
  2. Map<String, dynamic>? highlightResult,
  3. Map<String, dynamic>? snippetResult,
  4. RankingInfo? rankingInfo,
  5. int? distinctSeqID,
  6. Map<String, dynamic> additionalProperties = const {},
})

Returns a new Hit instance.

Implementation

const Hit({
  required this.objectID,
  this.highlightResult,
  this.snippetResult,
  this.rankingInfo,
  this.distinctSeqID,
  Map<String, dynamic> additionalProperties = const {},
}) : super(additionalProperties);