USBControlTransferParameters constructor

USBControlTransferParameters({
  1. required USBRequestType requestType,
  2. required USBRecipient recipient,
  3. required int request,
  4. required int value,
  5. required int index,
})

Implementation

factory USBControlTransferParameters(
        {required USBRequestType requestType,
        required USBRecipient recipient,
        required int request,
        required int value,
        required int index}) =>
    USBControlTransferParameters._(
        requestType: requestType.value,
        recipient: recipient.value,
        request: request,
        value: value,
        index: index);