TxInput constructor
TxInput({
- OutPoint? outPoint,
- String? address,
- Int64? amount,
- Iterable<
TokenAmount> ? tokenAmount,
Implementation
factory TxInput({
OutPoint? outPoint,
$core.String? address,
$fixnum.Int64? amount,
$core.Iterable<TokenAmount>? tokenAmount,
}) {
final _result = create();
if (outPoint != null) {
_result.outPoint = outPoint;
}
if (address != null) {
_result.address = address;
}
if (amount != null) {
_result.amount = amount;
}
if (tokenAmount != null) {
_result.tokenAmount.addAll(tokenAmount);
}
return _result;
}