charging property

bool? charging
final

Whether device should be charging for the work to run.

The default value is dependent on the native WorkManager, which should be false according to the documentation.

Implementation

final bool? charging;