getDevices method
Implementation
@override
Future<List<UsbDevice>> getDevices() async {
final devices =
(await methodChannel.invokeMethod<List<dynamic>>('getDevices')) ?? [];
return devices.map((device) => UsbDevice.fromMap(device)).toList();
}