BatteryInfo constructor

BatteryInfo({
  1. required double level,
  2. required bool isCharging,
  3. required String status,
  4. required double temperature,
})

Implementation

BatteryInfo({
  required this.level,
  required this.isCharging,
  required this.status,
  required this.temperature,
});