DeviceIdentifier class

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


DeviceIdentifier.fromJson(Map _json)


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
serialNumber ↔ String
The manufacturer's serial number for the device. This value might not be unique across different device models.
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


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


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