USBOutTransferResult constructor

USBOutTransferResult(
  1. USBTransferStatus status, [
  2. int? bytesWritten = 0
])

Implementation

factory USBOutTransferResult(USBTransferStatus status,
        [int? bytesWritten = 0]) =>
    USBOutTransferResult._(status.value, bytesWritten ?? 0);