UrpPsuDeviceCommand constructor

UrpPsuDeviceCommand({
  1. UrpPsuCommand? command,
  2. UrpPsuSearchParameters? searchParameters,
  3. UrpPsuPairParameters? pairParameters,
})

Implementation

factory UrpPsuDeviceCommand({
  UrpPsuCommand? command,
  UrpPsuSearchParameters? searchParameters,
  UrpPsuPairParameters? pairParameters,
}) {
  final $result = create();
  if (command != null) {
    $result.command = command;
  }
  if (searchParameters != null) {
    $result.searchParameters = searchParameters;
  }
  if (pairParameters != null) {
    $result.pairParameters = pairParameters;
  }
  return $result;
}