SessionRetentionConfig constructor

const SessionRetentionConfig({
  1. int maxTotalBytes = 0,
  2. int minAgeDays = defaultMinAgeDays,
  3. bool keepNamed = true,
  4. SessionRetentionSweepMode sweep = SessionRetentionSweepMode.boot,
  5. List<String> notes = const [],
})

Creates a configuration; see each field for its default.

Implementation

const SessionRetentionConfig({
  this.maxTotalBytes = 0,
  this.minAgeDays = defaultMinAgeDays,
  this.keepNamed = true,
  this.sweep = SessionRetentionSweepMode.boot,
  this.notes = const [],
});