BatteryThresholds constructor

const BatteryThresholds({
  1. int lowThreshold = 20,
  2. int criticalThreshold = 10,
})

Creates battery thresholds.

Implementation

const BatteryThresholds({
  this.lowThreshold = 20,
  this.criticalThreshold = 10,
});