UpgradeUtilPlatform class abstract

upgrade_util 的平台接口

平台侧实现应继承(而非实现)本类,以便在不破坏现有实现的前提下新增方法 注册实现时请赋值给 UpgradeUtilPlatform.instance

Inheritance
  • Object
  • PlatformInterface
  • UpgradeUtilPlatform
Implementers

Constructors

UpgradeUtilPlatform()
Constructs a UpgradeUtilPlatform.

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

launch({required UpgradeOpenType type, String? packageName, String? appleID}) → Future<bool>
跳转至应用商店
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

instance ↔ UpgradeUtilPlatform
The default instance of UpgradeUtilPlatform to use.
getter/setter pair