UrpSecCommandWrapper constructor

UrpSecCommandWrapper({
  1. UrpCoreCommand? coreCommand,
  2. UrpSecDeviceCommand? deviceCommand,
})

Implementation

factory UrpSecCommandWrapper({
  $0.UrpCoreCommand? coreCommand,
  UrpSecDeviceCommand? deviceCommand,
}) {
  final $result = create();
  if (coreCommand != null) {
    $result.coreCommand = coreCommand;
  }
  if (deviceCommand != null) {
    $result.deviceCommand = deviceCommand;
  }
  return $result;
}