IndexOptions constructor

IndexOptions({
  1. bool? background,
  2. int? expireAfterSeconds,
  3. String? name,
  4. bool? sparse,
  5. Map<String, dynamic>? storageEngine,
  6. bool? unique,
  7. int? version,
  8. String? defaultLanguage,
  9. String? languageOverride,
  10. int? textVersion,
  11. Map<String, dynamic>? weights,
  12. int? sphereVersion,
  13. int? bits,
  14. double? max,
  15. double? min,
  16. int? bucketSize,
  17. bool? hidden,
  18. Map<String, dynamic>? partialFilterExpression,
  19. Collation? collation,
  20. Map<String, dynamic>? wildcardProjection,
})

Implementation

IndexOptions({
  this.background,
  this.expireAfterSeconds,
  this.name,
  this.sparse,
  this.storageEngine,
  this.unique,
  this.version,
  this.defaultLanguage,
  this.languageOverride,
  this.textVersion,
  this.weights,
  this.sphereVersion,
  this.bits,
  this.max,
  this.min,
  this.bucketSize,
  this.hidden,
  this.partialFilterExpression,
  this.collation,
  this.wildcardProjection,
});