AppUpdate class

应用版本更新

Constructors

AppUpdate()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

isHaveShown bool
是否已经显示过
getter/setter pair

Static Methods

getDeviceType() Future<String>
获取当前设备类型
getVersion(ApiRepository apiRepository, {String position = 'after', bool isNeedHud = true}) → dynamic
检测版本
haveNewVersion(String newVersion, String old) bool
showAppUpdate(bool forcedUpgrade, {String url = '', String text = '', String apkVersionName = ''}) → dynamic