WorkConstraints constructor

const WorkConstraints({
  1. NetworkType? networkType,
  2. bool? batteryNotLow,
  3. bool? charging,
  4. bool? deviceIdle,
  5. bool? storageNotLow,
})

Creates constraints for a WorkRequest.

Implementation

const WorkConstraints({
  this.networkType,
  this.batteryNotLow,
  this.charging,
  this.deviceIdle,
  this.storageNotLow,
});