PrismUpdateAvailable class
An update is available (soft or forced per the policy).
- Inheritance
-
- Object
- PrismUpdateState
- PrismUpdateAvailable
Constructors
- PrismUpdateAvailable({required PrismVersion current, required UpdatePolicyResult result, Uri? downloadUrl, String? notes})
-
Creates an update-available state.
const
Properties
- current → PrismVersion
-
The version currently installed.
final
- downloadUrl → Uri?
-
Direct download URL on platforms without a store flow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isForced → bool
-
Whether the update is mandatory.
no setter
- latest → PrismVersion?
-
The latest version being offered.
no setter
- notes → String?
-
Release notes for the latest version, when available.
final
- result → UpdatePolicyResult
-
Full policy evaluation result.
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