description property
String
get
description
Implementation
String get description {
try {
switch (this) {
case UsbSpeed.unknown:
return 'Unknown';
case UsbSpeed.low:
return '1.5M';
case UsbSpeed.full:
return '12M';
case UsbSpeed.high:
return '480M';
case UsbSpeed.superNormal:
return '5G';
case UsbSpeed.superPlus:
return '10G';
}
} catch (e) {
print('UsbSpeedExt.description exception: $e');
return 'Unknown';
}
}