DeviceIdentifier class

Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.


DeviceIdentifier.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
imei String
The device’s IMEI number. Validated on input.
read / write
manufacturer String
The device manufacturer’s name. Matches the device's built-in value returned from android.os.Build.MANUFACTURER. Allowed values are listed in manufacturers.
read / write
meid String
The device’s MEID number.
read / write
model String
The device model's name. Matches the device's built-in value returned from android.os.Build.MODEL. Allowed values are listed in models.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
serialNumber String
The manufacturer's serial number for the device. This value might not be unique across different device models.
read / write


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


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