PowerState constructor
Creates a power state.
Implementation
const PowerState({
required this.batteryLevel,
required this.isCharging,
this.chargingType = ChargingType.none,
this.isPowerSaveMode = false,
this.isDozeMode = false,
this.isBatteryOptimizationExempt = false,
this.timeToFullCharge,
this.timeRemaining,
});