DevicePowerPowerState constructor
Creates a DevicePowerPowerState object.
Implementation
DevicePowerPowerState({
required this.batteryState,
required this.batteryLevel,
}) : assert(Validators.isValidPercentage(batteryLevel),
"`batteryPercent` must be between 0 and 100 (inclusive)");