IoTransaction constructor
IoTransaction({
- Iterable<
SpentTransactionOutput> ? inputs, - Iterable<
UnspentTransactionOutput> ? outputs, - Datum_IoTransaction? datum,
- TransactionId? transactionId,
Implementation
factory IoTransaction({
$core.Iterable<$17.SpentTransactionOutput>? inputs,
$core.Iterable<$18.UnspentTransactionOutput>? outputs,
$19.Datum_IoTransaction? datum,
$7.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;
}