TxOutput constructor
TxOutput({})
Implementation
factory TxOutput({
$fixnum.Int64? sats,
$core.List<$core.int>? outputScript,
SpentBy? spentBy,
Token? token,
$core.Iterable<$core.MapEntry<$core.String, PluginEntry>>? plugins,
}) {
final result = create();
if (sats != null) result.sats = sats;
if (outputScript != null) result.outputScript = outputScript;
if (spentBy != null) result.spentBy = spentBy;
if (token != null) result.token = token;
if (plugins != null) result.plugins.addEntries(plugins);
return result;
}