UrpSecDeviceCommand constructor

UrpSecDeviceCommand({
  1. UrpSecCommand? command,
  2. UrpSecPrimeParameters? primeParameters,
  3. UrpSecureToken? secureToken,
  4. UrpTokenRequest? tokenRequest,
})

Implementation

factory UrpSecDeviceCommand({
  UrpSecCommand? command,
  UrpSecPrimeParameters? 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;
}