UpdatePolicy constructor

const UpdatePolicy({
  1. PrismVersion? minimumVersion,
  2. Set<UpdateChannel> channels = const {UpdateChannel.stable},
  3. int rolloutPercent = 100,
  4. String? rolloutDeviceId,
})

Creates a policy.

Implementation

const UpdatePolicy({
  this.minimumVersion,
  this.channels = const {UpdateChannel.stable},
  this.rolloutPercent = 100,
  this.rolloutDeviceId,
});