isCharging property

bool isCharging
getter/setter pair

true when device is plugged in to power.

Implementation

late bool isCharging;