DeviceUtil 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
-
getChannelInfo
→ Future<
Map< String, String> > -
Get channel information of the current application
no setter
-
platformVersion
→ Future<
String> -
The version name of the platform
no setter
-
versionCode
→ Future<
String> -
The version code name of this application
no setter
-
versionName
→ Future<
String> -
The version name of this application
no setter
Static Methods
-
killApp(
) → Future< Null> - Kill the current application process and exit (Only supports Android)
-
minimizeWindow(
) → Future< Null> - Minimize window (Window only)
-
openApplicationSettingPage(
) → Future< Null> - Open the settings page of the currently running application
-
openAppStoreCommentPage(
String appID) → void - Open the scoring page of the current application in the app store
-
openNetworkSettingPage(
) → Future< Null> - Open the phone's network settings page