Doc constructor

Doc(
  1. String id,
  2. Map doc, {
  3. String? index,
  4. String? type,
  5. double? score,
  6. List? sort,
})

Implementation

Doc(
  this.id,
  this.doc, {
  this.index,
  this.type,
  this.score,
  this.sort,
});