PackageUtils class abstract

Constructors

PackageUtils()

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

appName String
应用名称. iOS中的CFBundleDisplayName, Android中的application/label.
no setter
buildNumber String
构建版本. iOS中的CFBundleVersion on iOS, Android中的versionCode.
no setter
buildSignature String
应用签名. iOS中未空字符串, Android上的签名密钥签名(十六进制).
no setter
packageName String
包名. iOS中的 bundleIdentifier, Android中的getPackageName`.
no setter
version String
包版本. iOS中的CFBundleShortVersionString, Android中的versionName.
no setter

Static Methods

initPackageInfo() Future
在使用之前必须初始化