Battery2 constructor

Battery2({
  1. required uint16_t voltage,
  2. required int16_t currentBattery,
})

Implementation

Battery2({
  required this.voltage,
  required this.currentBattery,
});