USBInTransferResult constructor

USBInTransferResult(
  1. USBTransferStatus status, [
  2. ByteData? data
])

Implementation

factory USBInTransferResult(USBTransferStatus status, [ByteData? data]) =>
    USBInTransferResult._(status.value, data ?? undefined);