UpdatePolicyResult class

The result of evaluating an update policy.

Constructors

UpdatePolicyResult(UpdateDecision decision, {PrismVersion? latest, PrismVersion? minimum})
Creates a policy result.
const

Properties

decision → UpdateDecision
The decision reached.
final
hashCode → int
The hash code for this object.
no setterinherited
isForced → bool
Whether a forced update is required.
no setter
isUpdateAvailable → bool
Whether an update is available (soft or forced).
no setter
latest → PrismVersion?
The latest available version, when known.
final
minimum → PrismVersion?
The minimum supported version, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited