TransactionInput constructor
TransactionInput({})
Implementation
factory TransactionInput({
$1.OutPoint? previousOutput,
$core.int? sequence,
$fixnum.Int64? valueIn,
$core.int? blockHeight,
$core.int? blockIndex,
$core.List<$core.int>? script,
}) {
final _result = create();
if (previousOutput != null) {
_result.previousOutput = previousOutput;
}
if (sequence != null) {
_result.sequence = sequence;
}
if (valueIn != null) {
_result.valueIn = valueIn;
}
if (blockHeight != null) {
_result.blockHeight = blockHeight;
}
if (blockIndex != null) {
_result.blockIndex = blockIndex;
}
if (script != null) {
_result.script = script;
}
return _result;
}