Attestation_Commitment constructor

Attestation_Commitment({
  1. Lock_Commitment? lock,
  2. Iterable<Challenge>? known,
  3. Iterable<Witness>? witness,
  4. Iterable<Proof>? responses,
})

Implementation

factory Attestation_Commitment({
  $7.Lock_Commitment? lock,
  $core.Iterable<$6.Challenge>? known,
  $core.Iterable<$3.Witness>? witness,
  $core.Iterable<$8.Proof>? responses,
}) {
  final _result = create();
  if (lock != null) {
    _result.lock = lock;
  }
  if (known != null) {
    _result.known.addAll(known);
  }
  if (witness != null) {
    _result.witness.addAll(witness);
  }
  if (responses != null) {
    _result.responses.addAll(responses);
  }
  return _result;
}