UpdateResult class
Update results fetched from App Store/custom version URL
Application latestVersion
Application downloadUrl
Application releaseNotes
Application releaseDate
Constructors
- UpdateResult({required Version latestVersion, required String downloadUrl, required String releaseNotes, required String releaseDate, String? sha512})
-
UpdateResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- downloadUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestVersion → Version
-
final
- releaseDate → String
-
final
- releaseNotes → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sha512 → String?
-
final
Methods
-
initDownload(
FilePath path) → Future< StreamController< DownloadProgress> > -
initializeUpdate(
) → Future< StreamController< DownloadProgress> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runUpdate(
FilePath uri, {bool autoExit = false, int exitDelay = 3000}) → Future< void> - Install/navigate to the respective file on OS
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited