Hit constructor

Hit(
  1. String id,
  2. Map doc, {
  3. String? index,
  4. String? type,
  5. double? score,
  6. List? sort,
  7. Map<String, List>? fields,
  8. Map<String, List<String>>? highlight,
})

Implementation

Hit(
  String id,
  Map doc, {
  String? index,
  String? type,
  double? score,
  List<dynamic>? sort,
  this.fields,
  this.highlight,
}) : super(id, doc, index: index, type: type, score: score, sort: sort);