IoTransaction constructor
IoTransaction({
- Iterable<
SpentTransactionOutput> ? inputs, - Iterable<
UnspentTransactionOutput> ? outputs, - Datum_IoTransaction? datum,
- TransactionId? transactionId,
Implementation
factory IoTransaction({
$core.Iterable<$15.SpentTransactionOutput>? inputs,
$core.Iterable<$16.UnspentTransactionOutput>? outputs,
$17.Datum_IoTransaction? datum,
$2.TransactionId? transactionId,
}) {
final _result = create();
if (inputs != null) {
_result.inputs.addAll(inputs);
}
if (outputs != null) {
_result.outputs.addAll(outputs);
}
if (datum != null) {
_result.datum = datum;
}
if (transactionId != null) {
_result.transactionId = transactionId;
}
return _result;
}