CoffeeConfig constructor

const CoffeeConfig({
  1. bool enabled = true,
  2. CoffeeMode mode = CoffeeMode.blockApp,
  3. int minHour = 9,
  4. int? maxHour,
  5. CoffeeRoastLevel roastLevel = CoffeeRoastLevel.sarcastic,
  6. bool showOverlay = true,
  7. bool throwOnBlock = false,
  8. int? breakReminderMinutes,
  9. bool allowOverride = true,
  10. int overrideTTLMinutes = 60,
  11. Map<CoffeeSituation, List<String>>? customMessages,
})

Implementation

const CoffeeConfig({
  this.enabled = true,
  this.mode = CoffeeMode.blockApp,
  this.minHour = 9,
  this.maxHour,
  this.roastLevel = CoffeeRoastLevel.sarcastic,
  this.showOverlay = true,
  this.throwOnBlock = false,
  this.breakReminderMinutes,
  this.allowOverride = true,
  this.overrideTTLMinutes = 60,
  this.customMessages,
});