FlutterAppUpgrade class

Constructors

FlutterAppUpgrade()

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 Methods

downloadApkInstall(String downloadUrl, String versionName) → dynamic
下载并安装apk(仅适用于Android)
goToAppStore(String id) → dynamic
跳转AppStore(仅适用于iOS)
goToGoogleMarket({String packageId = ''}) → dynamic
跳转Google应用市场(仅适用于Android)
goToMarket() → dynamic
跳转应用市场(仅适用于Android)
onListenStreamData(Function onEvent, {Function? onError}) → void
监听下载进度
patchInstallAppForAndroid(String patchPath) → dynamic
增量更新apk(仅适用于Android)