WorkConstraints constructor
const
WorkConstraints({
- NetworkType? networkType,
- bool? batteryNotLow,
- bool? charging,
- bool? deviceIdle,
- bool? storageNotLow,
Creates constraints for a WorkRequest.
Implementation
const WorkConstraints({
this.networkType,
this.batteryNotLow,
this.charging,
this.deviceIdle,
this.storageNotLow,
});