controlTransferIn method

Future<USBInTransferResult> controlTransferIn(
  1. dynamic device,
  2. SetupParam setup, {
  3. int? length,
})

Waits for a specified control transfer from the device

Implementation

Future<USBInTransferResult> controlTransferIn(
    dynamic device, SetupParam setup,
    {int? length}) {
  return _platform.controlTransferIn(device, setup, length: length);
}