requestPermission method
Implementation
@override
Future<bool> requestPermission(UsbDevice usbDevice) async {
final granted = await methodChannel.invokeMethod<bool>(
'requestPermission', usbDevice.toMap());
return granted ?? false;
}
@override
Future<bool> requestPermission(UsbDevice usbDevice) async {
final granted = await methodChannel.invokeMethod<bool>(
'requestPermission', usbDevice.toMap());
return granted ?? false;
}