CompactCondition constructor

const CompactCondition({
  1. int? minFileSize,
  2. int? minBytes,
  3. double? minRatio,
})

Compaction will happen if all of the specified conditions are true.

Implementation

const CompactCondition({
  this.minFileSize,
  this.minBytes,
  this.minRatio,
}) : assert(
        minFileSize != null || minBytes != null || minRatio != null,
        'At least one condition needs to be specified.',
      );