copy method
creates a copy of the object
Implementation
TxOutput copy() {
return TxOutput(amount: amount, scriptPubKey: scriptPubKey);
}
creates a copy of the object
TxOutput copy() {
return TxOutput(amount: amount, scriptPubKey: scriptPubKey);
}