USBEndpoint constructor

USBEndpoint(
  1. USBAlternateInterface alternate,
  2. int endpointNumber,
  3. USBDirection direction
)

Implementation

factory USBEndpoint(USBAlternateInterface alternate, int endpointNumber,
        USBDirection direction) =>
    USBEndpoint._(alternate, endpointNumber, direction.value);