IsolatedCompactionStrategy.threshold constructor

const IsolatedCompactionStrategy.threshold({
  1. required int deletedThreshold,
  2. required double deletedRatio,
})

Compacts the box once more than deletedThreshold entries have been deleted and the ratio of deleted entries to total entries exceeds deletedRatio

Implementation

const factory IsolatedCompactionStrategy.threshold({
  required int deletedThreshold,
  required double deletedRatio,
}) = _ThresholdCompactionStrategy;