DeviceMarketingNames class

Lookup device marketing names for the current device or a specific model

Constructors

DeviceMarketingNames()
factory

Properties

deviceNames String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getNames() Future<String>
Get all marketing names of the device. If multiple names match the model, those are concatenated and separated by " / ". Lookup results are cached. For web browsers the browser name delivered by device_info_plus is forwarded.
getNamesAsList() Future<List<String>>
Get all marketing names of the device as list. Lookup results are cached. For web browsers the browser name delivered by device_info_plus is forwarded.
getNamesFromModel(DeviceType type, String model) String
Get all marketing names for the given model. If multiple names match the model, those are concatenated and separated by " / ".
getNamesFromModelAsList(DeviceType type, String model) List<String>
Get all marketing names for the given model as list.
getSingleName() Future<String>
Get one marketing name of the device. If multiple names match the model, the first match is selected. Lookup results are cached. For web browsers the browser name delivered by device_info_plus is forwarded.
getSingleNameFromModel(DeviceType type, String model) String
Get one marketing name for the given model. If multiple names match the model, the first match is selected.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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