IndexDescriptor constructor

IndexDescriptor(
  1. {required Map<String, int> key,
  2. bool unique = false,
  3. bool sparse = false,
  4. int? expireAfterSeconds}
)

Implementation

IndexDescriptor({required this.key, this.unique = false, this.sparse = false, this.expireAfterSeconds});