open method

  1. @override
Future<bool> open(
  1. UsbDevice usbDevice
)
override

Implementation

@override
Future<bool> open(UsbDevice usbDevice) async {
  final open =
      await methodChannel.invokeMethod<bool>('open', usbDevice.toMap());

  return open ?? false;
}