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?
新安装包md5文件校验(32位),校验重复下载
final
apkName String
下载好的apk名称
final
apkUrl String
下载地址
final
hashCode int
The hash code for this object.
no setterinherited
iOSUrl String
ios 下载链接
final
jumpInstallPage bool
下载完成是否自动弹出安装页面 (默认为true)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBgdToast bool
下载开始时是否提示 "正在后台下载新版本…" (默认为true)
final
showNotification bool
是否需要显示通知栏进度(默认为true)
final
smallIcon String
通知栏的小图标,这里传入的是mipmap文件下的图片名称 eg:ic_launcher.png则传入ic_launcher
final

Methods

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

Operators

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