TaskConstraints constructor
const
TaskConstraints({
- NetworkConstraint? network,
- bool batteryNotLow = false,
- bool requiresCharging = false,
- bool deviceIdle = false,
Creates a TaskConstraints instance.
Implementation
const TaskConstraints({
this.network,
this.batteryNotLow = false,
this.requiresCharging = false,
this.deviceIdle = false,
});