SpentTransactionOutput constructor

SpentTransactionOutput({
  1. TransactionOutputAddress? address,
  2. Attestation? attestation,
  3. Value? value,
})

Implementation

factory SpentTransactionOutput({
  $9.TransactionOutputAddress? address,
  $13.Attestation? attestation,
  $14.Value? value,
}) {
  final _result = create();
  if (address != null) {
    _result.address = address;
  }
  if (attestation != null) {
    _result.attestation = attestation;
  }
  if (value != null) {
    _result.value = value;
  }
  return _result;
}