isCharging property
bool
get
isCharging
Whether the device is charging
Implementation
bool get isCharging => state == BatteryState.charging;
Whether the device is charging
bool get isCharging => state == BatteryState.charging;