IndexCriteria constructor

const IndexCriteria(
  1. String collectionName,
  2. String indexName,
  3. Iterable<String> fieldNames, [
  4. bool unique = false,
  5. bool deduplicate = false,
  6. bool sparse = false,
  7. bool inBackground = false,
])

Implementation

const IndexCriteria(
  this.collectionName,
  this.indexName,
  this.fieldNames, [
  this.unique = false,
  this.deduplicate = false,
  this.sparse = false,
  this.inBackground = false,
]);