getSingleNameFromModel method

String getSingleNameFromModel(
  1. DeviceType type,
  2. String model
)

Get one marketing name for the given model. If multiple names match the model, the first match is selected. If no marketing name was found the model name is returned.

Implementation

String getSingleNameFromModel(DeviceType type, String model) =>
    getNamesFromModel(type, model).getFirst();