UrpSecMeasurement constructor

UrpSecMeasurement({
  1. String? signature,
  2. String? readerId,
  3. String? payload,
  4. int? nonce,
  5. Iterable<UrpSecMeasurementResult>? result,
})

Implementation

factory UrpSecMeasurement({
  $core.String? signature,
  $core.String? readerId,
  $core.String? payload,
  $core.int? nonce,
  $core.Iterable<UrpSecMeasurementResult>? result,
}) {
  final $result = create();
  if (signature != null) {
    $result.signature = signature;
  }
  if (readerId != null) {
    $result.readerId = readerId;
  }
  if (payload != null) {
    $result.payload = payload;
  }
  if (nonce != null) {
    $result.nonce = nonce;
  }
  if (result != null) {
    $result.result.addAll(result);
  }
  return $result;
}