USBInTransferResult constructor Null safety

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

Implementation

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