DeviceUtils class
Constructors
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
Static Methods
-
appName(
) → Future< String> - 获取App名称
-
buildNumber(
) → Future< String> - 获取包build版本
-
buildSignature(
) → Future< String> - 获取包签名
-
getCachePath(
) → Future< String?> - 获取app缓存路径
-
getPackageInfo(
) → Future< PackageInfo> - 获取包信息
-
getPhoneLocalPath(
) → Future< String?> - 获取手机本地路径
-
installerStore(
) → Future< String?> -
packageName(
) → Future< String> - 获取包名称
-
version(
) → Future< String> - 获取包版本