UpdateModel class

Constructors

UpdateModel(String apkUrl, String apkName, String smallIcon, String iOSUrl, {String? apkMD5, bool showNotification = true, bool jumpInstallPage = true, bool showBgdToast = true})

Properties

apkMD5 String?
New version md5 file verification (32-bit), verification for repeated downloads
final
apkName String
Download apk name
final
apkUrl String
Apk url
final
hashCode int
The hash code for this object.
no setterinherited
iOSUrl String
iOS download url
final
jumpInstallPage bool
Download completed and installation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBgdToast bool
Show "Downloading new version in the background…" toast
final
showNotification bool
Display progress notification
final
smallIcon String
Notification small icon, here the name of the image in the mipmap, eg: ic_launcher.png then set ic_launcher
final

Methods

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

Operators

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