DeviceInfo class

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 full device info for this device. See BaseDeviceInfo.data.
getter/setter pair
deviceID String?
getter/setter pair
deviceManufacturer String?
getter/setter pair
deviceModel String?
getter/setter pair
deviceName String?
getter/setter pair
hardware String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
getter/setter pair
operatingSystemName String?
The name of the current operating system.
getter/setter pair
operatingSystemVersion String?
The current operating system version.
getter/setter pair
platform String?
getter/setter pair
release String?
Release level.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdk String?
SDK level.
getter/setter pair

Methods

init() Future<void>
Initialize the device info using the DeviceInfoPlugin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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