MobileDeviceHelper class

A device information function set.

Constructors

MobileDeviceHelper()

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

androidDevInfo → AndroidDeviceInfo
Get android information if current is android
no setter
iosDevInfo → IosDeviceInfo
Get iOS information if current is iOS
no setter

Static Methods

brand() String
Device brand, android system return brand, iOS system return model
initialize() Future<void>
Initial device information for platform
isAndroid() bool
Platform whether android
isIOS() bool
Platform whether ios
isLinux() bool
Platform whether linux
isWindow() bool
Platform whether windows
operateSystem() String
Get current operate system
operateSystemVersion() String
Get current operate system version