Output.clone constructor
Implementation
factory Output.clone(Output output) {
return new Output(
script: output.script != null ? Uint8List.fromList(output.script) : null,
value: output.value,
valueBuffer: output.valueBuffer != null
? Uint8List.fromList(output.valueBuffer)
: null,
pubkeys: output.pubkeys != null
? output.pubkeys.map(
(pubkey) => pubkey != null ? Uint8List.fromList(pubkey) : null)
: null,
signatures: output.signatures != null
? output.signatures.map((signature) =>
signature != null ? Uint8List.fromList(signature) : null)
: null,
);
}