DeviceInfo class Null safety

Provides (static) information about the local device.

This class is a singleton that one time access the information from the local device to be used in the sensing framework.

Constructors

DeviceInfo()
factory

Properties

deviceData Map<String, dynamic>
The device info for this device.
read / write
deviceID String?
read / write
deviceManufacturer String?
read / write
deviceModel String?
read / write
deviceName String?
read / write
hardware String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
operatingSystem String?
read / write
platform String?
read / write
release String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sdk String?
read / write

Methods

init() Future
Initialize the device info using the DeviceInfoPlugin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited