UrpImpCommandWrapper constructor

UrpImpCommandWrapper({
  1. UrpCoreCommand? coreCommand,
  2. UrpImpDeviceCommand? deviceCommand,
})

Implementation

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