ReleaseFreshInstall class
Item-level policy requiring users to download a fresh installer.
Constructors
- ReleaseFreshInstall({required Uri downloadUrl, String? message})
-
Creates a fresh-install policy.
const
-
ReleaseFreshInstall.fromJson(Map<
String, dynamic> json) -
Parses fresh-install metadata from
app-archive.json.factory
Properties
- downloadUrl → Uri
-
App-owned page or installer URL for the latest release.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
Optional release-specific explanation.
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
-
toJson(
) → Map< String, dynamic> - Converts this policy to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited