QuietHoursSettings constructor

const QuietHoursSettings({
  1. bool enabled = false,
  2. String? startTime,
  3. String? endTime,
  4. bool allowCritical = true,
  5. bool allowCalls = true,
  6. bool weekdaysOnly = false,
})

Creates quiet hours settings.

Implementation

const QuietHoursSettings({
  this.enabled = false,
  this.startTime,
  this.endTime,
  this.allowCritical = true,
  this.allowCalls = true,
  this.weekdaysOnly = false,
});