DeviceIdentifier class

Encapsulates hardware and product IDs to identify a manufactured device.

To understand requirements on identifier sets, read Identifiers.

Constructors

DeviceIdentifier({String? chromeOsAttestedDeviceId, String? deviceType, String? imei, String? manufacturer, String? meid, String? model, String? serialNumber})
DeviceIdentifier.fromJson(Map json_)

Properties

chromeOsAttestedDeviceId String?
An identifier provided by OEMs, carried through the production and sales process.
getter/setter pair
deviceType String?
The type of the device Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imei String?
The device’s IMEI number.
getter/setter pair
manufacturer String?
The device manufacturer’s name.
getter/setter pair
meid String?
The device’s MEID number.
getter/setter pair
model String?
The device model's name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNumber String?
The manufacturer's serial number for the device.
getter/setter pair

Methods

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

Operators

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