label method
override
Returns label describing the represented device (for example "External USB Webcam").
If the device has no associated label, then returns an empty string.
Implementation
@override
String label() {
final String description = _device.label();
// Firefox in its private mode, for example, leaves the labels empty.
if (description.isEmpty) {
return deviceId();
}
return description;
}