$BatteryStateCallback class abstract base mixin

Constructors

$BatteryStateCallback({required void onBatteryStateChanged(BatteryState? newState, int batteryLevel, bool isBatterySaverMode, BatteryHealth? batteryHealth, bool isChargerConnected, int temperature, int voltage, int maxChargingCurrent, int batteryCapacity, int chargingSpeed, JString? chargingType), bool onBatteryStateChanged$async})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onBatteryStateChanged$async bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBatteryStateChanged(BatteryState? newState, int batteryLevel, bool isBatterySaverMode, BatteryHealth? batteryHealth, bool isChargerConnected, int temperature, int voltage, int maxChargingCurrent, int batteryCapacity, int chargingSpeed, JString? chargingType) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited