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