UrpImpDeviceCommand constructor

UrpImpDeviceCommand({
  1. UrpImpCommand? command,
  2. UrpImpPrimeParameters? primeParameters,
  3. UrpSecureToken? secureToken,
  4. UrpTokenRequest? tokenRequest,
})

Implementation

factory UrpImpDeviceCommand({
  UrpImpCommand? command,
  UrpImpPrimeParameters? primeParameters,
  $0.UrpSecureToken? secureToken,
  $0.UrpTokenRequest? tokenRequest,
}) {
  final $result = create();
  if (command != null) {
    $result.command = command;
  }
  if (primeParameters != null) {
    $result.primeParameters = primeParameters;
  }
  if (secureToken != null) {
    $result.secureToken = secureToken;
  }
  if (tokenRequest != null) {
    $result.tokenRequest = tokenRequest;
  }
  return $result;
}