BatteryInfo constructor
BatteryInfo({
- int chargeLevel = -1,
- int healthLevel = -1,
- HealthStatus healthStatus = HealthStatus.NotInstalled,
Implementation
BatteryInfo(
{int chargeLevel = -1,
int healthLevel = -1,
HealthStatus healthStatus = HealthStatus.NotInstalled})
: this.batteryChargeLevel = chargeLevel,
this.batteryHealthLevel = healthLevel,
this.batteryHealthStatus = healthStatus;