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