DeviceMetadata class

Constructors

DeviceMetadata()
DeviceMetadata.fromJson(Map _json)

Properties

cpuMake ↔ String
Device CPU make e.g. "Qualcomm"
read / write
cpuModel ↔ String
Device CPU model e.g. "MSM8974"
read / write
deviceClass ↔ String
Device class (e.g. tablet)
read / write
glEsVersion ↔ int
OpenGL version
read / write
manufacturer ↔ String
Device manufacturer (e.g. Motorola)
read / write
nativePlatform ↔ String
Comma separated list of native platforms (e.g. "arm", "arm7")
read / write
productName ↔ String
Device model name (e.g. Droid)
read / write
ramMb ↔ int
Device RAM in Megabytes e.g. "2048"
read / write
screenDensityDpi ↔ int
Screen density in DPI
read / write
screenHeightPx ↔ int
Screen height in pixels
read / write
screenWidthPx ↔ int
Screen width in pixels
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited