isCharging property
final
Indicates whether the battery is currently charging, regardless of the method.
If true
, the battery is actively charging (either wired or wirelessly).
This can help provide an overview of the charging state without specifying
the charging method.
Implementation
final bool isCharging;