DeviceIdentifier class

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

Constructors

DeviceIdentifier()
DeviceIdentifier.fromJson(Map _json)

Properties

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

Methods

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

Operators

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