DeviceInfo class

Supplies the devices information.

Constructors

DeviceInfo()

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

androidId → String
The Android hardware device ID that is unique between the device + user and app signing.
no setter
board → String
The name of the underlying board, like "goldfish".
no setter
bootloader → String
The system bootloader version number.
no setter
brand → String
The consumer-visible brand with which the product/hardware will be associated, if any.
no setter
device → String
The name of the industrial design.
no setter
display → String
A build ID string meant for displaying to the user.
no setter
fingerprint → String
A string that uniquely identifies this build.
no setter
hardware → String
The name of the hardware (from the kernel command line or /proc).
no setter
host → String
Hostname.
no setter
id → String
Either a changelist number, or a label like "M4-rc20".
no setter
identifierForVendor → String
Unique UUID value identifying the current device.
no setter
isPhysicalDevice → String
false if the application is running in an emulator, true otherwise.
no setter
localizedModel → String
Localized name of the device model.
no setter
manufacturer → String
The manufacturer of the product/hardware.
no setter
model → String
The end-user-visible name for the end product.
no setter
name → String
Device name.
no setter
product → String
The name of the overall product.
no setter
supported32BitAbis → String
An ordered list of 32 bit ABIs supported by this device.
no setter
supported64BitAbis → String
An ordered list of 64 bit ABIs supported by this device.
no setter
supportedAbis → String
An ordered list of ABIs supported by this device.
no setter
systemName → String
The name of the current operating system.
no setter
systemVersion → String
The current operating system version.
no setter
tags → String
Comma-separated tags describing the build, like "unsigned,debug".
no setter
type → String
The type of build, like "user" or "eng".
no setter
utsname → String
Operating system information derived from sys/utsname.h.
no setter
utsnameMachine → String
Hardware type (e.g. 'iPhone7,1' for iPhone 6 Plus).
no setter
utsnameNodename → String
Network node name.
no setter
utsnameRelease → String
Release level.
no setter
utsnameSysname → String
Operating system name.
no setter
utsnameVersion → String
Version level.
no setter
versionBaseOs → String
The base OS build the product is based on.
no setter
versionCodename → String
The current development codename, or the string "REL" if this is a release build.
no setter
versionIncremental → String
The internal value used by the underlying source control to represent this build.
no setter
versionPreviewSdk → String
The developer preview revision of a prerelease SDK.
no setter
versionRelease → String
The user-visible version string.
no setter
versionSdk → String
The user-visible SDK version of the framework.
no setter
versionSecurityPatch → String
The user-visible security patch level.
no setter

Static Methods

init() → Future<Map<String, dynamic>>
Collect all the Device's information.
initAsync() → Future<Map<String, dynamic>>
Collect all the Device's information.